:root {
  --ink: #101629;
  --muted: #697086;
  --blue: #1599c6;
  --blue-dark: #087ba8;
  --lime: #d7ff63;
  --paper: #f4f5f7;
  --white: #ffffff;
  --line: rgba(16, 22, 41, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.noise {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}
.site-header {
  height: 82px;
  padding: 0 clamp(24px, 5vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 245, 247, .88);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.brand { display: flex; align-items: center; }
.brand img { display: block; width: 164px; height: auto; }
nav { display: flex; gap: 36px; font-size: 13px; font-weight: 600; }
nav a { transition: color .2s; }
nav a:hover { color: var(--blue); }
.header-cta { font-size: 13px; font-weight: 700; border-bottom: 1px solid var(--ink); padding-bottom: 3px; }
.header-cta span, .button span { margin-left: 8px; }
.menu-button { display: none; border: 0; background: transparent; padding: 8px; }
.menu-button span { width: 24px; height: 1px; display: block; background: var(--ink); margin: 6px; }

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  grid-template-rows: 1fr auto;
  overflow: hidden;
}
.hero-copy {
  padding: clamp(70px, 10vh, 125px) 5vw 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.eyebrow, .section-kicker { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11px; text-transform: uppercase; letter-spacing: .16em; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: #62c96b; box-shadow: 0 0 0 4px rgba(98, 201, 107, .12); }
h1 { font-size: clamp(58px, 7.3vw, 116px); line-height: .89; letter-spacing: -.075em; margin: 32px 0; font-weight: 700; }
em { color: var(--blue); font-style: normal; }
.hero-lede { max-width: 610px; color: var(--muted); font-size: clamp(17px, 1.4vw, 21px); line-height: 1.6; }
.hero-actions { display: flex; align-items: center; gap: 34px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; padding: 17px 22px; font-size: 13px; font-weight: 700; }
.button-primary { color: white; background: var(--ink); box-shadow: inset 0 -3px 0 var(--blue); transition: transform .2s, background .2s; }
.button-primary:hover { background: var(--blue-dark); transform: translateY(-2px); }
.text-link { font-size: 13px; font-weight: 700; }
.text-link span { color: var(--blue); margin-left: 7px; }

.hero-visual { min-height: 650px; position: relative; background: var(--blue); overflow: hidden; display: grid; place-items: center; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(145deg, rgba(255,255,255,.12), transparent 44%); }
.orbit { position: absolute; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; }
.orbit-one { width: 720px; height: 720px; }
.orbit-two { width: 470px; height: 470px; }
.code-card, .float-card { position: absolute; z-index: 2; box-shadow: 0 35px 80px rgba(5, 45, 70, .25); }
.card-main { width: min(74%, 510px); color: #cbd4e8; background: #11182b; border: 1px solid rgba(255,255,255,.15); transform: rotate(-2deg); }
.card-top { height: 48px; padding: 0 18px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid rgba(255,255,255,.09); font: 10px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .08em; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.card-status { color: var(--lime); margin-left: auto; }
.code-lines { padding: 28px 26px 19px; font: 12px/2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.code-lines p { margin: 0; white-space: nowrap; }
.code-lines i { color: #4a5672; font-style: normal; margin-right: 20px; }
.purple { color: #c99fff; }.blue { color: #70d2ff; }.green { color: var(--lime); }
.progress { height: 3px; background: #2d3853; margin: 0 26px; }
.progress span { display: block; width: 88%; height: 100%; background: var(--lime); }
.build-meta { padding: 13px 26px 18px; display: flex; justify-content: space-between; font: 9px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--lime); }
.build-meta strong { color: #8690aa; }
.float-card { background: rgba(255,255,255,.94); backdrop-filter: blur(10px); }
.card-small { width: 165px; padding: 18px; right: 5%; top: 16%; transform: rotate(4deg); }
.card-small span { display: block; color: var(--muted); font: 9px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .15em; }
.card-small strong { font-size: 31px; letter-spacing: -.06em; }
.card-small small { font-size: 13px; }
.card-small svg { display: block; width: 100%; margin-top: 10px; overflow: visible; }
.card-small path { fill: none; stroke: var(--blue); stroke-width: 2; }
.card-label { left: 7%; bottom: 17%; padding: 17px 23px; font: 11px/2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; transform: rotate(-4deg); }
.card-label span { color: var(--blue); margin-right: 14px; }
.hero-foot { grid-column: 1 / -1; min-height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 5vw; border-top: 1px solid var(--line); color: var(--muted); font: 10px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; }
.hero-foot p span { margin: 0 8px; color: var(--blue); }

.services { padding: 130px 5vw; background: white; }
.section-intro { display: grid; grid-template-columns: .45fr 1fr .6fr; align-items: end; gap: 50px; margin-bottom: 70px; }
.section-kicker { color: var(--blue-dark); margin: 0; align-self: start; }
h2 { font-size: clamp(42px, 5vw, 76px); line-height: 1.03; letter-spacing: -.055em; margin: 0; }
.section-intro > p:last-child { color: var(--muted); line-height: 1.7; font-size: 15px; }
.service-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { position: relative; padding: 40px; min-height: 490px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: transform .25s, background .25s; }
.service-card:hover { transform: translateY(-8px); background: #f8f9fa; }
.service-card.featured { color: white; background: var(--ink); }
.service-number { font: 10px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--muted); }
.service-icon { width: 58px; height: 58px; display: grid; place-items: center; margin: 70px 0 35px; border: 1px solid var(--line); border-radius: 50%; color: var(--blue); font: 18px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.featured .service-icon { border-color: rgba(255,255,255,.18); color: var(--lime); }
.service-card h3 { font-size: 24px; letter-spacing: -.035em; margin: 0 0 16px; }
.service-card p { color: var(--muted); font-size: 14px; line-height: 1.7; max-width: 330px; }
.featured p { color: #aab2c6; }
.service-card ul { list-style: none; padding: 0; margin: 30px 0 0; font: 10px/2.1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; text-transform: uppercase; letter-spacing: .09em; }
.service-card li::before { content: "↳"; color: var(--blue); margin-right: 10px; }
.featured li::before { color: var(--lime); }

.projects { padding: 130px 5vw; background: var(--paper); }
.projects-heading { display: grid; grid-template-columns: .45fr 1fr .6fr; align-items: end; gap: 50px; margin-bottom: 70px; }
.projects-heading > p:last-child { color: var(--muted); line-height: 1.7; font-size: 15px; }
.featured-projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.project-card { min-height: 420px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; background: white; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.project-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(16, 22, 41, .08); }
.project-meta { display: flex; justify-content: space-between; gap: 15px; color: var(--muted); font: 8px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .1em; }
.project-index { color: var(--blue); font-size: 82px; font-weight: 700; line-height: 1; letter-spacing: -.08em; opacity: .18; }
.project-card h3 { max-width: 380px; margin: 0 0 15px; font-size: 25px; line-height: 1.15; letter-spacing: -.04em; }
.project-card p { max-width: 380px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.project-dark { color: white; background: var(--ink); }
.project-dark .project-meta, .project-dark p { color: #aeb6c9; }
.project-dark .project-index { color: var(--lime); }
.project-blue { color: white; background: var(--blue); }
.project-blue .project-meta, .project-blue p { color: rgba(255,255,255,.74); }
.project-blue .project-index { color: white; }
.project-lime { background: var(--lime); }
.project-lime .project-index { color: var(--ink); }
.project-roster { display: grid; grid-template-columns: .45fr 1.55fr; gap: 50px; margin-top: 75px; padding-top: 35px; border-top: 1px solid var(--line); }
.roster-label { margin: 0; color: var(--blue-dark); font: 10px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .12em; text-transform: uppercase; }
.roster-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 50px; }
.roster-list div { display: flex; justify-content: space-between; gap: 20px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.roster-list strong { font-size: 12px; }
.roster-list span { color: var(--muted); font: 9px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; text-align: right; text-transform: uppercase; }

.process { padding: 130px 5vw; color: white; background: var(--blue); display: grid; grid-template-columns: .9fr 1.1fr; gap: 8vw; }
.process em { color: var(--lime); }
.process .section-kicker { color: rgba(255,255,255,.65); margin-bottom: 24px; }
.process-steps { border-top: 1px solid rgba(255,255,255,.3); }
.process-steps article { display: grid; grid-template-columns: 150px .7fr 1fr; gap: 25px; align-items: baseline; padding: 34px 0; border-bottom: 1px solid rgba(255,255,255,.3); }
.process-steps span { color: var(--lime); font: 9px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .1em; }
.process-steps h3 { margin: 0; font-size: 21px; }
.process-steps p { margin: 0; color: rgba(255,255,255,.7); font-size: 13px; line-height: 1.7; }

.company { padding: 130px 5vw; background: white; display: grid; grid-template-columns: .8fr 1.2fr; gap: 9vw; }
.company-heading .section-kicker { margin-bottom: 28px; }
.company-heading > p:last-child { max-width: 550px; margin-top: 35px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.credentials { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.credentials article { min-height: 250px; padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.credentials span, .visit span { display: block; color: var(--blue-dark); font: 9px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .12em; }
.credentials strong { display: block; margin: 42px 0 13px; font-size: 22px; letter-spacing: -.035em; }
.credentials p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }

.contact { padding: 130px 5vw 35px; background: var(--ink); color: white; }
.contact .section-kicker { color: var(--lime); margin-bottom: 35px; }
.contact h2 { font-size: clamp(54px, 8vw, 122px); max-width: 1200px; }
.contact em { color: var(--blue); }
.contact-email { display: inline-block; margin-top: 55px; color: var(--lime); font-size: clamp(20px, 2.2vw, 34px); border-bottom: 1px solid var(--lime); padding-bottom: 7px; }
.contact-email span { margin-left: 12px; }
.visit { margin: 65px 0 110px; padding-left: 22px; border-left: 2px solid var(--lime); }
.visit span { color: var(--lime); margin-bottom: 15px; }
.visit p { color: #b8bfd0; font-size: clamp(14px, 1.5vw, 19px); line-height: 1.8; }
.contact-foot { display: flex; justify-content: space-between; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.14); color: #8991a5; font: 9px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; text-transform: uppercase; letter-spacing: .1em; }

@media (max-width: 900px) {
  nav, .header-cta { display: none; }
  .menu-button { display: block; }
  .site-header.menu-open nav { position: absolute; display: flex; flex-direction: column; top: 81px; left: 0; right: 0; padding: 28px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .hero { display: block; }
  .hero-copy { min-height: 650px; padding-top: 80px; }
  .hero-visual { min-height: 590px; }
  .hero-foot { display: none; }
  .section-intro { grid-template-columns: 1fr; gap: 24px; }
  .projects-heading { grid-template-columns: 1fr; gap: 24px; }
  .section-intro > p:last-child { max-width: 520px; }
  .projects-heading > p:last-child { max-width: 520px; }
  .service-list { grid-template-columns: 1fr; }
  .featured-projects { grid-template-columns: 1fr 1fr; }
  .service-card { min-height: auto; }
  .service-icon { margin-top: 50px; }
  .process { grid-template-columns: 1fr; }
  .company { grid-template-columns: 1fr; }
  .project-roster { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 600px) {
  .site-header { height: 70px; }
  h1 { font-size: 58px; }
  .hero-copy { min-height: 620px; padding-inline: 24px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-visual { min-height: 480px; }
  .card-main { width: 90%; }
  .code-lines { padding-inline: 14px; font-size: 9px; }
  .code-lines i { margin-right: 9px; }
  .card-small { width: 125px; top: 8%; right: 2%; }
  .card-label { left: 2%; bottom: 7%; }
  .services, .projects, .process, .company, .contact { padding: 90px 24px; }
  .service-card { padding: 30px; }
  .process-steps article { grid-template-columns: 1fr; gap: 8px; }
  .credentials { grid-template-columns: 1fr; }
  .featured-projects, .roster-list { grid-template-columns: 1fr; }
  .project-card { min-height: 360px; }
  .roster-list div { align-items: flex-start; flex-direction: column; gap: 6px; }
  .roster-list span { text-align: left; }
  .contact-foot { flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { opacity: 0; transform: translateY(18px); animation: rise .65s forwards; }
  .hero-copy > *:nth-child(2) { animation-delay: .1s; }
  .hero-copy > *:nth-child(3) { animation-delay: .2s; }
  .hero-copy > *:nth-child(4) { animation-delay: .3s; }
  .card-main { animation: hover 5s ease-in-out infinite; }
  .card-small { animation: hoverSmall 4.4s ease-in-out infinite; }
  @keyframes rise { to { opacity: 1; transform: none; } }
  @keyframes hover { 50% { transform: rotate(-2deg) translateY(-10px); } }
  @keyframes hoverSmall { 50% { transform: rotate(4deg) translateY(9px); } }
}
