@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,500;8..60,600;8..60,700;8..60,800&family=Work+Sans:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root{
  --bg:#f4f6fb;
  --surface:#ffffff;
  --surface-2:#eaeef7;
  --ink:#0f1b33;
  --ink-soft:#3c4a63;
  --muted:#647089;
  --line:#dde3ee;
  --accent:#1657d1;
  --accent-strong:#0d3fa0;
  --accent-ink:#ffffff;
  --navy:#0a1226;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --bg:#0b1220; --surface:#121a2c; --surface-2:#182238; --ink:#eef1f7;
    --ink-soft:#c3cadb; --muted:#8791a8; --line:#243050; --accent:#5b93ff;
    --accent-strong:#84aeff; --accent-ink:#06101f; --navy:#060a14;
  }
}
:root[data-theme="dark"]{
  --bg:#0b1220; --surface:#121a2c; --surface-2:#182238; --ink:#eef1f7;
  --ink-soft:#c3cadb; --muted:#8791a8; --line:#243050; --accent:#5b93ff;
  --accent-strong:#84aeff; --accent-ink:#06101f; --navy:#060a14;
}

*{box-sizing:border-box;}
html{-webkit-font-smoothing:antialiased;}
body{
  margin:0; background:var(--bg); color:var(--ink);
  font-family:'Work Sans', system-ui, sans-serif; font-size:17px; line-height:1.6;
}
img{max-width:100%; display:block;}
[hidden]{display:none!important;}
::selection{ background:var(--accent); color:#fff; }

.wrap{ max-width:1180px; margin:0 auto; padding-inline:24px; }

h1,h2,h3{
  font-family:'Source Serif 4', Georgia, serif; font-weight:700;
  text-wrap:balance; margin:0; letter-spacing:-0.01em;
}
a{ color:inherit; }
.tag{
  font-family:'JetBrains Mono', ui-monospace, monospace; font-size:12px;
  letter-spacing:0.1em; text-transform:uppercase;
}

/* ---------- header ---------- */
header{
  position:sticky; top:0; z-index:30;
  background:color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter:blur(8px); border-bottom:1px solid var(--line);
}
.nav-row{ display:flex; align-items:center; justify-content:space-between; padding-block:16px; gap:20px; }
.brand{ display:flex; align-items:center; gap:10px; font-family:'Source Serif 4', serif; font-weight:700; font-size:21px; text-decoration:none; color:var(--ink); }
.brand .mark{
  flex:none; width:30px; height:30px; border-radius:8px; background:var(--accent); color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-family:'Source Serif 4', serif; font-weight:800; font-size:16px;
}
nav.links{ display:flex; gap:30px; align-items:center; }
nav.links a{
  font-family:'Work Sans', sans-serif; font-weight:500; font-size:15px; text-decoration:none;
  color:var(--ink-soft); padding-bottom:3px; border-bottom:2px solid transparent;
}
nav.links a:hover{ color:var(--ink); }
nav.links a.active{ color:var(--ink); border-bottom-color:var(--accent); }

.btn{
  font-family:'Work Sans', sans-serif; font-weight:600; font-size:14.5px;
  text-decoration:none; display:inline-flex; align-items:center; gap:8px;
  padding:11px 22px; border-radius:9px; border:1.5px solid var(--ink); color:var(--ink);
  white-space:nowrap;
}
.btn-solid{ background:var(--accent); color:#fff; border-color:var(--accent); }
.btn-solid:hover{ background:var(--accent-strong); border-color:var(--accent-strong); }
.btn-ghost-inv{ border-color:rgba(255,255,255,0.55); color:#fff; }
.btn-ghost-inv:hover{ background:#fff; color:var(--navy); border-color:#fff; }
.btn-outline:hover{ border-color:var(--accent); color:var(--accent); }

/* ---------- hero (home, full) ---------- */
.hero{
  position:relative;
  background-image:linear-gradient(180deg, rgba(6,11,24,0.72), rgba(6,11,24,0.86)), url('images/hero.jpg');
  background-size:cover; background-position:center; color:#fff;
}
.hero-inner{ position:relative; padding-block:88px 64px; }
.hero .tag{ color:#9fc0ff; }
.hero h1{ font-size:clamp(38px, 6vw, 74px); line-height:1.02; margin-top:16px; max-width:18ch; color:#fff; }
.hero h1 .accentline{ color:#7fb0ff; }
.hero-sub{ margin-top:22px; max-width:50ch; font-size:18.5px; color:rgba(255,255,255,0.82); }
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; margin-top:30px; }

.pillrow{ display:flex; gap:12px; flex-wrap:wrap; margin-top:44px; }
.pill{
  display:flex; align-items:baseline; gap:8px; background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.22); border-radius:100px; padding:10px 18px; font-size:14px;
}
.pill .n{ font-family:'JetBrains Mono', monospace; font-weight:500; color:#8fc4ff; }
.pill .l{ color:rgba(255,255,255,0.75); }

/* ---------- page hero (interior pages, shorter banner) ---------- */
.page-hero{
  position:relative;
  background-image:linear-gradient(180deg, rgba(6,11,24,0.66), rgba(6,11,24,0.82)), var(--page-hero-img, url('images/hero.jpg'));
  background-size:cover; background-position:center; color:#fff;
}
.page-hero .wrap{ padding-block:56px 50px; }
.page-hero .tag{ color:#9fc0ff; }
.page-hero h1{ font-size:clamp(32px, 4.6vw, 52px); margin-top:14px; color:#fff; max-width:24ch; }
.page-hero p{ margin-top:14px; max-width:56ch; color:rgba(255,255,255,0.82); font-size:17px; }
.breadcrumb{ font-family:'JetBrains Mono', monospace; font-size:12px; letter-spacing:0.06em; color:rgba(255,255,255,0.6); }
.breadcrumb a{ color:rgba(255,255,255,0.85); text-decoration:none; }
.breadcrumb a:hover{ text-decoration:underline; }

/* ---------- sections ---------- */
section{ padding-block:68px; }
section.tight{ padding-block:48px; }
.section-head{ margin-bottom:40px; max-width:44ch; }
.section-head .tag{ color:var(--accent); }
.section-head h2{ font-size:clamp(28px, 3.6vw, 42px); margin-top:10px; }
.section-head p{ margin-top:12px; color:var(--muted); font-size:16px; max-width:48ch; }
.section-head.center{ margin-inline:auto; text-align:center; }

/* services bento (home teaser) */
.bento{ display:grid; grid-template-columns:repeat(3, 1fr); grid-auto-rows:1fr; gap:14px; }
.cell{
  border:1px solid var(--line); border-radius:16px; padding:26px 24px; background:var(--surface);
  display:flex; flex-direction:column; gap:10px; min-height:190px; justify-content:flex-end;
  text-decoration:none; color:inherit;
}
.cell.big{
  grid-column:span 2; grid-row:span 1; position:relative; color:#fff; overflow:hidden; border-color:transparent;
  background-image:linear-gradient(200deg, rgba(8,14,28,0.35), rgba(8,14,28,0.86)), url('images/servers.jpg');
  background-size:cover; background-position:center;
}
.cell .tag{ color:var(--accent); }
.cell.big .tag{ color:#9fc0ff; }
.cell h3{ font-size:20px; }
.cell.big h3{ font-size:26px; max-width:20ch; color:#fff; }
.cell p{ margin:0; color:var(--muted); font-size:15px; max-width:34ch; }
.cell.big p{ color:rgba(255,255,255,0.82); max-width:36ch; }
.teaser-more{ margin-top:28px; text-align:center; }

/* full service detail blocks */
.service-detail{
  display:grid; grid-template-columns:0.6fr 1.4fr; gap:40px;
  padding-block:44px; border-top:1px solid var(--line);
}
.service-detail:first-of-type{ border-top:none; padding-top:0; }
.service-thumb{ width:100%; aspect-ratio:1; border-radius:14px; overflow:hidden; border:1px solid var(--line); margin-bottom:14px; }
.service-thumb img{ width:100%; height:100%; object-fit:cover; }
.service-detail .num{ font-family:'JetBrains Mono', monospace; font-size:13px; color:var(--accent); }
.service-detail h3{ font-size:clamp(22px,2.6vw,28px); margin-top:8px; }
.service-detail .desc{ color:var(--ink-soft); font-size:16.5px; max-width:60ch; }
.service-detail ul{ margin:20px 0 0; padding:0; list-style:none; display:grid; gap:10px; max-width:56ch; }
.service-detail li{
  display:flex; gap:10px; align-items:flex-start; color:var(--ink-soft); font-size:15px;
}
.service-detail li::before{ content:"—"; color:var(--accent); flex:none; font-weight:600; }

/* approach zigzag */
.timeline{ position:relative; }
.tl-line{ position:absolute; left:0; right:0; top:15px; height:2px; background:var(--line); }
.tl-row{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; position:relative; }
.tl-step{ position:relative; padding-top:44px; }
.tl-step .dot{ position:absolute; top:6px; left:0; width:18px; height:18px; border-radius:50%; background:var(--bg); border:3px solid var(--accent); }
.tl-step:nth-child(even){ margin-top:64px; }
.tl-step .tag{ color:var(--muted); }
.tl-step h3{ font-size:19px; margin-top:8px; }
.tl-step p{ margin:8px 0 0; color:var(--muted); font-size:14.5px; }

/* pull statement */
.statement{ background:var(--navy); color:#fff; padding-block:80px; }
.statement blockquote{
  margin:0; font-family:'Source Serif 4', serif; font-weight:600;
  font-size:clamp(26px, 4vw, 44px); line-height:1.2; max-width:22ch; text-wrap:balance;
}
.statement .accent-word{ color:#7fb0ff; }
.statement .tag{ color:#7fb0ff; display:block; margin-bottom:20px; }

/* about (photo card + text) */
.about{ display:grid; grid-template-columns:0.85fr 1.15fr; gap:52px; align-items:center; }
.about-art{ border-radius:20px; overflow:hidden; border:1px solid var(--line); aspect-ratio:4/5; }
.about-art img{ width:100%; height:100%; object-fit:cover; }
.about-body p{ color:var(--ink-soft); font-size:16.5px; max-width:56ch; }
.about-body p + p{ margin-top:14px; }
.about-stats{ display:flex; gap:28px; margin-top:26px; flex-wrap:wrap; }
.about-stats .num{ font-family:'Source Serif 4', serif; font-weight:800; font-size:32px; color:var(--accent); line-height:1; }
.about-stats .lbl{ margin-top:6px; color:var(--muted); font-size:13.5px; max-width:16ch; }

/* pricing / how we charge */
.charge-grid{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.charge-card{ border:1px solid var(--line); border-radius:16px; padding:30px 28px; background:var(--surface); }
.charge-card h3{ font-size:22px; }
.charge-card .tag{ color:var(--accent); }
.charge-card p{ color:var(--ink-soft); margin-top:12px; font-size:15.5px; }
.charge-card.alt{ background:var(--navy); color:#fff; border-color:var(--navy); }
.charge-card.alt .tag{ color:#9fc0ff; }
.charge-card.alt p{ color:rgba(255,255,255,0.8); }

/* full-width photo band */
.imgband{
  position:relative; border-radius:24px; overflow:hidden; min-height:260px;
  display:flex; align-items:flex-end; padding:40px 44px; color:#fff;
  background-size:cover; background-position:center;
}
.imgband::before{
  content:""; position:absolute; inset:0;
  background:linear-gradient(200deg, rgba(6,11,24,0.15), rgba(6,11,24,0.84));
}
.imgband > *{ position:relative; }
.imgband h2{ color:#fff; }
.imgband .tag{ color:#9fc0ff; }

/* industries strip */
.industries{ display:grid; grid-template-columns:repeat(5,1fr); gap:14px; }
.industry{ border:1px solid var(--line); border-radius:14px; padding:20px 16px; background:var(--surface); text-align:center; }
.industry .tag{ color:var(--muted); display:block; margin-bottom:8px; }
.industry h3{ font-size:15.5px; font-family:'Work Sans',sans-serif; font-weight:600; }

/* faq */
.faq{ display:grid; gap:14px; max-width:760px; }
.faq-item{ border:1px solid var(--line); border-radius:14px; padding:22px 24px; background:var(--surface); }
.faq-item h3{ font-size:17px; font-family:'Work Sans',sans-serif; font-weight:600; }
.faq-item p{ margin:8px 0 0; color:var(--muted); font-size:15px; }

/* contact */
.contact{ background:var(--accent); color:#eaf1ff; border-radius:24px; margin-inline:24px; padding:64px 48px; }
.contact-inner{ max-width:1120px; margin:0 auto; display:grid; grid-template-columns:1.2fr 1fr; gap:48px; align-items:start; }
.contact .tag{ color:#dbe9ff; opacity:0.85; }
.contact h2{ color:#fff; font-size:clamp(28px,3.6vw,42px); margin-top:12px; }
.contact p.lede{ margin-top:16px; max-width:44ch; color:#eaf1ff; opacity:0.92; font-size:16px; }
.contact-card{ background:rgba(0,0,0,0.16); border:1px solid rgba(255,255,255,0.22); border-radius:16px; padding:26px; }
.contact-line{ display:flex; justify-content:space-between; gap:12px; padding-block:12px; border-top:1px solid rgba(255,255,255,0.2); font-size:14.5px; }
.contact-line:first-of-type{ border-top:none; }
.contact-line dt{ margin:0; color:rgba(255,255,255,0.65); font-family:'JetBrains Mono',monospace; font-size:11.5px; letter-spacing:0.06em; text-transform:uppercase; }
.contact-line dd{ margin:0; text-align:right; color:#fff; }
.contact-card a{ color:#fff; text-decoration:underline; text-decoration-color:rgba(255,255,255,0.45); }
.contact-card dl{ margin:0 0 18px; }
.contact .btn{ width:100%; justify-content:center; border-color:#fff; color:#fff; }
.contact .btn:hover{ background:#fff; color:var(--accent-strong); }

/* plain content page bits */
.prose{ max-width:68ch; }
.prose p{ color:var(--ink-soft); font-size:16.5px; }
.prose p + p{ margin-top:14px; }

footer{ background:var(--navy); color:rgba(255,255,255,0.6); padding-block:26px; }
.foot-row{ display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; font-size:13px; }
.foot-row .brand{ font-size:16px; color:#fff; }
.foot-links{ display:flex; gap:18px; }
.foot-links a{ color:rgba(255,255,255,0.6); text-decoration:none; }
.foot-links a:hover{ color:#fff; }

@media (max-width: 860px){
  nav.links{ display:none; }
  .bento{ grid-template-columns:1fr; }
  .cell.big{ grid-column:span 1; }
  .tl-row{ grid-template-columns:repeat(2,1fr); row-gap:48px; }
  .tl-step:nth-child(even){ margin-top:0; padding-top:44px; }
  .tl-step:nth-child(even) .dot{ top:6px; }
  .about{ grid-template-columns:1fr; gap:28px; }
  .about-art{ aspect-ratio:16/9; }
  .service-detail{ grid-template-columns:1fr; gap:14px; }
  .charge-grid{ grid-template-columns:1fr; }
  .industries{ grid-template-columns:repeat(2,1fr); }
  .contact{ margin-inline:12px; padding:40px 24px; }
  .contact-inner{ grid-template-columns:1fr; }
}
