:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-deep: #f8fafc;
  --surface: #f1f5f9;
  --surface-raised: #ffffff;
  --line: #e2e8f0;
  --line-bright: #e2e8f0;
  --text: #0f172a;
  --muted: #475569;
  --subtle: #64748b;
  --cyan: #0ea5e9;
  --indigo: #6366f1;
  --amber: #f59e0b;
  --font: "Manrope", sans-serif;
  --mono: "DM Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.section-pad { padding: 120px 0; }

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  height: 76px;
  border-bottom: 1px solid rgba(226, 232, 240, .9);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(18px);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand-logo { display: inline-flex; flex: 0 0 auto; padding: 3px 6px; border-radius: 3px; background: #fff; line-height: 0; }
.brand-logo img { display: block; width: 139px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 34px; margin-left: 80px; }
.main-nav a, .footer-links a { color: var(--muted); font-size: 12px; transition: color .2s ease; }
.main-nav a:hover, .footer-links a:hover { color: var(--text); }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 49px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 39px; padding-inline: 14px; }
.button-outline { border-color: var(--line-bright); color: var(--text); }
.button-outline:hover { border-color: var(--amber); }
.button-primary { color: #0f172a; background: var(--amber); box-shadow: 0 0 32px rgba(245, 158, 11, .16); }
.button-primary:hover { background: #fbbf24; }
.button-quiet { color: #334155; }
.button-quiet:hover { color: #b45309; }

.hero { position: relative; min-height: 660px; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(100,116,139,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(100,116,139,.07) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent, #000 50%, #000), linear-gradient(0deg, transparent, #000 22%);
  mask-composite: intersect;
  opacity: .62;
}
.hero::after { content: ""; position: absolute; width: 650px; height: 450px; top: 55px; right: -210px; background: radial-gradient(ellipse, rgba(245, 158, 11, .09), transparent 68%); pointer-events: none; }
.hero-content { position: relative; z-index: 1; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; min-height: 585px; }
.hero-copy { padding: 64px 0 60px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #475569; font: 400 10px var(--mono); letter-spacing: .085em; }
.status-dot { display: inline-block; width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 12px rgba(245,158,11,.5); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 650px; margin: 27px 0 20px; font-size: clamp(44px, 5vw, 65px); font-weight: 600; letter-spacing: -.065em; line-height: 1.12; }
h1 span, h2 span { color: #64748b; }
.hero-lead { max-width: 540px; margin-bottom: 29px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; gap: 12px; }
.hero-proof { display: flex; align-items: center; gap: 13px; margin-top: 49px; }
.proof-line { width: 27px; height: 1px; background: var(--cyan); }
.hero-proof p { margin: 0; color: var(--subtle); font: 10px var(--mono); }
.hero-visual { position: relative; display: grid; place-items: center; min-height: 490px; margin-right: -26px; }
.network { position: relative; z-index: 1; width: 100%; overflow: visible; }
.network-lines path { fill: none; stroke: url(#line-gradient); stroke-width: 1.2; }
.network-lines .line-dim { stroke: rgba(56,189,248,.13); }
.network-nodes circle { fill: #ffffff; stroke: #0ea5e9; stroke-width: 1.4; filter: drop-shadow(0 0 5px rgba(14,165,233,.32)); }
.network-nodes .node-core { fill: rgba(56,189,248,.18); stroke: #7dd3fc; stroke-width: 1.5; }
.node-labels rect { fill: rgba(255, 255, 255, .96); stroke: rgba(14,165,233,.3); }
.node-labels circle { fill: var(--cyan); }
.node-labels text { fill: #0f172a; font: 8px var(--mono); letter-spacing: .1em; }
.node-labels .label-sub { fill: #64748b; font-size: 7px; letter-spacing: .03em; }
.visual-orbit { position: absolute; border: 1px solid rgba(56,189,248,.075); border-radius: 50%; }
.orbit-one { width: 365px; height: 365px; }
.orbit-two { width: 465px; height: 465px; border-color: rgba(99,102,241,.08); }
.visual-caption { position: absolute; right: 23px; bottom: 29px; color: #64748b; font: 8px var(--mono); letter-spacing: .12em; }
.visual-caption span { color: #b45309; margin-right: 9px; }
.hero-bottom { position: relative; z-index: 1; height: 74px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: #64748b; font: 9px var(--mono); letter-spacing: .13em; }
.scroll-indicator { display: flex; gap: 13px; align-items: center; }
.scroll-indicator i { color: var(--amber); font-size: 15px; font-style: normal; }

.services { background: var(--bg-deep); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 48px; }
.section-index { margin-bottom: 18px; color: #b45309; }
h2 { margin-bottom: 0; font-size: clamp(32px, 4vw, 46px); font-weight: 600; letter-spacing: -.055em; line-height: 1.22; }
.section-intro { max-width: 382px; margin: 0 0 4px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-bright); border-left: 1px solid var(--line-bright); }
.service-card { min-height: 285px; padding: 25px 30px 23px; border-right: 1px solid var(--line-bright); border-bottom: 1px solid var(--line-bright); background: linear-gradient(140deg, #ffffff, #f8fafc); transition: background .25s ease; }
.service-card:hover { background: linear-gradient(140deg, #f1f5f9, #ffffff); }
.card-topline { display: flex; justify-content: space-between; align-items: center; margin-bottom: 21px; color: #64748b; font: 10px var(--mono); }
.service-icon { color: var(--cyan); font: 27px var(--mono); line-height: 1; }
.service-card h3 { margin-bottom: 9px; font-size: 17px; font-weight: 600; letter-spacing: -.03em; }
.service-card p { max-width: 475px; min-height: 43px; margin-bottom: 17px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.tag-list span { padding: 3px 8px; border: 1px solid #e2e8f0; border-radius: 3px; color: #475569; font: 9px var(--mono); background: #f8fafc; }
.card-link, .text-link { color: #334155; font-size: 10px; font-weight: 600; }
.card-link span, .text-link span { margin-left: 5px; color: #b45309; transition: margin .2s ease; }
.card-link:hover span, .text-link:hover span { margin-left: 9px; }

.about { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 105px; }
.about-visual { position: relative; min-height: 355px; display: grid; place-items: center; }
.about-grid { position: absolute; inset: 5% -7%; background-image: linear-gradient(rgba(100,116,139,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(100,116,139,.08) 1px, transparent 1px); background-size: 33px 33px; mask-image: radial-gradient(ellipse, #000 15%, transparent 72%); }
.engineer-card { position: relative; width: min(355px, 100%); padding: 26px; border: 1px solid #e2e8f0; border-radius: 6px; background: linear-gradient(145deg, #ffffff, #f1f5f9); box-shadow: 0 30px 70px rgba(15,23,42,.1); }
.engineer-monogram { display: grid; place-items: center; width: 70px; height: 70px; margin-bottom: 22px; border: 1px solid rgba(245,158,11,.35); border-radius: 50%; color: #0f172a; font-size: 22px; font-weight: 600; letter-spacing: -.05em; background: radial-gradient(circle at 35% 30%, rgba(245,158,11,.2), transparent 70%); }
.engineer-monogram span { color: #b45309; }
.engineer-meta { display: flex; flex-direction: column; gap: 3px; margin-bottom: 20px; }
.engineer-meta span:first-child { font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.engineer-meta span:last-child { color: #64748b; font: 8px var(--mono); letter-spacing: .08em; }
.engineer-status { display: flex; align-items: center; gap: 8px; padding: 11px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #475569; font: 8px var(--mono); letter-spacing: .06em; }
.engineer-status .status-dot { width: 5px; height: 5px; flex-basis: 5px; }
.code-snippet { margin-top: 18px; color: #334155; font: 10px/1.8 var(--mono); }
.code-snippet .code-muted { color: #6366f1; }
.code-snippet span:last-child { color: #0369a1; }
.about-visual-label { position: absolute; bottom: 0; left: 6%; color: #64748b; font: 8px var(--mono); letter-spacing: .12em; }
.about-copy h2 { margin-bottom: 22px; }
.about-copy > p:not(.eyebrow) { color: var(--muted); font-size: 12px; line-height: 2; }
.about-copy .text-link { display: inline-block; margin-top: 11px; }

.stack { background: var(--bg-deep); }
.stack-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 45px; }
.stack-heading > p { max-width: 365px; margin: 0 0 5px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.stack-list { display: flex; flex-wrap: wrap; gap: 10px; }
.stack-list span { padding: 10px 14px; border: 1px solid #e2e8f0; border-radius: 4px; color: #334155; background: #f1f5f9; font: 10px var(--mono); transition: border .2s ease, color .2s ease; }
.stack-list span:hover { border-color: #0ea5e9; color: #0369a1; }

.contact { padding-top: 15px; padding-bottom: 110px; }
.contact-panel { position: relative; min-height: 342px; display: flex; align-items: center; overflow: hidden; padding: 56px 67px; border: 1px solid #e2e8f0; border-radius: 7px; background: linear-gradient(115deg, #f1f5f9 0%, #ffffff 62%, #eef2ff 100%); }
.contact-orb { position: absolute; width: 420px; height: 420px; top: -190px; right: -30px; border: 1px solid rgba(14,165,233,.15); border-radius: 50%; box-shadow: 0 0 0 45px rgba(14,165,233,.035), 0 0 0 100px rgba(99,102,241,.035); }
.contact-content { position: relative; z-index: 1; max-width: 730px; }
.contact-content .eyebrow { margin-bottom: 17px; }
.contact-content h2 { margin-bottom: 14px; font-size: clamp(28px, 3.5vw, 39px); }
.contact-content > p:not(.eyebrow) { max-width: 550px; margin-bottom: 22px; color: var(--muted); font-size: 12px; }
.contact-decoration { position: absolute; right: 7%; bottom: 34px; display: flex; flex-direction: column; color: rgba(71,85,105,.3); font: 9px var(--mono); letter-spacing: .12em; text-align: right; }
.contact-decoration span:nth-child(2) { color: rgba(71,85,105,.45); }
.contact-decoration i { margin-top: 8px; color: rgba(180,83,9,.75); font-size: 24px; font-style: normal; }

.site-footer { background: var(--bg-deep); }
.footer-main { display: flex; justify-content: space-between; align-items: flex-start; padding: 39px 0 32px; }
.footer-brand-logo img { width: 139px; }
.footer-company { margin: 12px 0 0; color: #475569; font-size: 10px; }
.footer-company span { padding: 0 4px; color: #b45309; }
.footer-signoff { margin: 3px 0 0; color: #334155; font-size: 12px; font-weight: 600; line-height: 1.8; text-align: right; }
.footer-signoff span { color: #64748b; font-weight: 400; }
.footer-bottom { min-height: 58px; display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid var(--line); color: #475569; font: 9px var(--mono); }
.footer-links { display: flex; gap: 23px; align-items: center; }
.footer-links a { font: 9px var(--mono); }
.footer-links a span { color: #b45309; }

@media (max-width: 900px) {
  .main-nav { gap: 19px; margin-left: 20px; }
  .hero-content { grid-template-columns: 1.1fr .9fr; }
  .hero-visual { margin-right: -65px; }
  .about-layout { gap: 55px; }
}
@media (max-width: 700px) {
  .container { width: min(100% - 40px, 540px); }
  .section-pad { padding: 82px 0; }
  .site-header { height: 66px; }
  .main-nav { display: none; }
  .header-cta { margin-left: auto; }
  .brand-logo img { width: 120px; }
  .hero { min-height: auto; }
  .hero-content { display: block; min-height: 0; padding-top: 65px; }
  .hero-copy { padding: 0 0 26px; }
  .eyebrow { font-size: 8px; line-height: 1.8; }
  h1 { margin: 20px 0 15px; font-size: clamp(41px, 11vw, 57px); }
  .hero-lead { font-size: 12px; }
  .hero-proof { margin-top: 29px; }
  .hero-proof p { font-size: 8px; }
  .hero-visual { min-height: 310px; margin: -9px -35px 0; }
  .visual-orbit.orbit-one { width: 230px; height: 230px; }
  .visual-orbit.orbit-two { width: 300px; height: 300px; }
  .visual-caption { right: 26px; bottom: 5px; font-size: 7px; }
  .hero-bottom { height: 58px; font-size: 7px; }
  .section-heading, .stack-heading { display: block; margin-bottom: 32px; }
  h2 { font-size: 35px; }
  .section-intro, .stack-heading > p { margin-top: 18px; font-size: 11px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 265px; padding: 23px 22px; }
  .about-layout { grid-template-columns: 1fr; gap: 51px; }
  .about-visual { min-height: 330px; }
  .about-visual-label { bottom: -9px; left: 2%; }
  .about-copy h2 { font-size: 36px; }
  .stack-list { gap: 7px; }
  .stack-list span { padding: 9px 10px; font-size: 9px; }
  .contact { padding-top: 0; padding-bottom: 78px; }
  .contact-panel { min-height: 355px; padding: 35px 24px; }
  .contact-content h2 { font-size: 30px; }
  .contact-decoration { right: 20px; bottom: 17px; opacity: .7; }
  .footer-main { padding: 30px 0; }
  .footer-brand-logo img { width: 120px; }
  .footer-signoff { font-size: 10px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; padding: 17px 0; gap: 13px; }
  .footer-links { flex-wrap: wrap; gap: 10px 17px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
