:root {
  --ink: #10263f;
  --muted: #62778e;
  --line: #dcebf5;
  --blue: #2e92d0;
  --blue-dark: #1676b3;
  --blue-pale: #eef8ff;
  --blue-soft: #dff2ff;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(39, 112, 158, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { background: rgba(255,255,255,.92); border-color: var(--line); box-shadow: 0 8px 30px rgba(21,72,105,.06); backdrop-filter: blur(16px); }
.nav-wrap { height: 96px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand-logo { display: block; width: auto; height: 68px; }
.brand-logo-footer { height: 72px; }
.main-nav { display: flex; align-items: center; gap: 34px; font-size: 14px; font-weight: 600; }
.main-nav a:not(.nav-cta) { color: #526b82; transition: color .2s ease; }
.main-nav a:not(.nav-cta):hover { color: var(--blue-dark); }
.nav-cta { padding: 10px 19px; border: 1px solid #bddff3; border-radius: 999px; background: rgba(255,255,255,.7); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.menu-toggle span:not(.sr-only) { display: block; width: 23px; height: 2px; margin: 5px; background: var(--ink); }

.hero { min-height: 760px; position: relative; overflow: hidden; padding: 164px 0 92px; background: linear-gradient(150deg, #fff 10%, #f7fcff 62%, #eaf7ff 100%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, #c9e6f7, transparent); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(4px); opacity: .75; }
.hero-glow-one { width: 560px; height: 560px; right: -170px; top: 70px; background: radial-gradient(circle, rgba(130,208,246,.38), transparent 68%); }
.hero-glow-two { width: 320px; height: 320px; left: -180px; bottom: 10px; background: radial-gradient(circle, rgba(183,226,249,.3), transparent 70%); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 19px; color: var(--blue-dark); font-size: 12px; font-weight: 750; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow span { width: 26px; height: 1px; background: currentColor; }
.hero h1 { max-width: 710px; margin: 0; font-size: clamp(48px, 5.4vw, 76px); line-height: 1.055; letter-spacing: -.054em; font-weight: 720; }
.hero h1 em { display: block; color: var(--blue); font-style: normal; font-weight: 520; }
.hero-lead { max-width: 610px; margin: 27px 0 0; color: var(--muted); font-size: 19px; line-height: 1.72; }
.hero-actions { display: flex; align-items: center; gap: 15px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 52px; padding: 0 23px; border-radius: 12px; font-size: 14px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: linear-gradient(135deg, #39a2dd, #1f7fbd); box-shadow: 0 14px 30px rgba(35,135,194,.23); }
.button-primary:hover { box-shadow: 0 17px 36px rgba(35,135,194,.31); }
.button-quiet { color: var(--ink); background: white; border: 1px solid var(--line); }
.hero-points { display: flex; align-items: center; gap: 13px; margin-top: 35px; color: #7890a5; font-size: 12px; font-weight: 650; letter-spacing: .035em; }
.hero-points i { width: 3px; height: 3px; border-radius: 50%; background: #9ccbe7; }

.hero-visual { position: relative; height: 500px; }
.orbit { position: absolute; border: 1px solid rgba(70,161,213,.18); border-radius: 50%; }
.orbit-one { width: 440px; height: 440px; right: 5px; top: 25px; }
.orbit-two { width: 340px; height: 340px; right: 53px; top: 75px; }
.phone { position: absolute; border: 8px solid #17344e; border-radius: 42px; padding: 7px; background: #17344e; box-shadow: 0 35px 70px rgba(29,91,129,.25); }
.phone::before { content: ""; position: absolute; z-index: 3; width: 37%; height: 21px; left: 31.5%; top: 6px; border-radius: 0 0 14px 14px; background: #17344e; }
.phone-screen { width: 100%; height: 100%; overflow: hidden; border-radius: 29px; padding: 31px 19px 20px; background: linear-gradient(160deg, #f9fdff, #e6f6ff); }
.phone-front { z-index: 3; width: 230px; height: 445px; right: 68px; top: 20px; transform: rotate(3deg); }
.phone-back { width: 188px; height: 365px; right: 245px; top: 93px; transform: rotate(-10deg); opacity: .82; }
.phone-status { display: flex; justify-content: space-between; color: #6f879a; font-size: 8px; font-weight: 700; }
.app-symbol { display: grid; place-items: center; width: 50px; height: 50px; margin: 29px auto 8px; color: white; border-radius: 16px; background: linear-gradient(145deg,#6cc7f3,#2d8dca); font-size: 24px; font-weight: 800; box-shadow: 0 12px 26px rgba(42,143,203,.25); }
.phone-screen > p { margin: 0 0 20px; text-align: center; color: var(--ink); font-size: 13px; font-weight: 730; }
.ui-card { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 0 9px; margin-top: 10px; padding: 12px; border: 1px solid #d7edf9; border-radius: 13px; background: rgba(255,255,255,.82); box-shadow: 0 8px 22px rgba(31,103,145,.06); }
.ui-card span { grid-row: 1/3; width: 28px; height: 28px; border-radius: 9px; background: #d7f0ff; }
.ui-card strong { font-size: 9px; line-height: 1.3; }
.ui-card small { color: #8297a8; font-size: 7px; }
.ui-button { margin-top: 20px; padding: 11px; border-radius: 10px; color: white; background: #328fca; text-align: center; font-size: 9px; font-weight: 700; }
.muted-screen { background: linear-gradient(160deg, #ecf8ff, #d5effe); }
.mini-pill { width: 60px; height: 10px; margin: 42px auto 25px; border-radius: 999px; background: #a6d8f3; }
.mini-card { height: 70px; margin: 11px 2px; border-radius: 15px; background: rgba(255,255,255,.7); }
.mini-card.short { height: 49px; }
.floating-chip { position: absolute; z-index: 5; padding: 9px 14px; border: 1px solid #d8edf8; border-radius: 11px; color: #426b83; background: rgba(255,255,255,.9); box-shadow: 0 12px 32px rgba(42,117,160,.13); backdrop-filter: blur(10px); font-size: 11px; font-weight: 750; }
.chip-ios { top: 95px; right: 4px; }
.chip-android { bottom: 74px; right: 282px; }

.section { padding: 112px 0; }
.section-heading { max-width: 690px; margin-bottom: 50px; }
.section-heading h2, .about h2, .contact h2 { margin: 0; font-size: clamp(38px, 4.3vw, 58px); line-height: 1.12; letter-spacing: -.042em; }
.section-heading > p:last-child { max-width: 600px; margin: 20px 0 0; color: var(--muted); font-size: 18px; }
.services { background: white; }
.service-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.service-card { position: relative; min-height: 330px; padding: 31px; border: 1px solid var(--line); border-radius: 22px; background: #fbfdff; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-card:hover { transform: translateY(-6px); border-color: #b8def3; box-shadow: var(--shadow); }
.service-card.featured { background: linear-gradient(150deg, #f7fcff, #e9f7ff); }
.service-number { position: absolute; right: 25px; top: 21px; color: #afc6d5; font-size: 11px; font-weight: 750; letter-spacing: .1em; }
.service-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 50px; border-radius: 15px; color: var(--blue-dark); background: #e5f5ff; font-size: 18px; }
.service-card h3 { margin: 0 0 12px; font-size: 23px; letter-spacing: -.025em; }
.service-card p { margin: 0; color: var(--muted); font-size: 15px; }
.service-tag { display: inline-block; margin-top: 25px; color: var(--blue-dark); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

.work { background: var(--blue-pale); }
.split-heading { max-width: none; display: grid; grid-template-columns: 1fr .55fr; gap: 80px; align-items: end; }
.split-heading > p:last-child { font-size: 16px; }
.project-card { min-height: 465px; display: grid; grid-template-columns: .85fr 1.15fr; overflow: hidden; border: 1px solid #d1e9f6; border-radius: 28px; background: white; box-shadow: 0 24px 70px rgba(35,105,146,.1); transition: transform .3s ease, box-shadow .3s ease; }
.project-card:hover { transform: translateY(-5px); box-shadow: 0 30px 85px rgba(35,105,146,.17); }
.project-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 60px; }
.project-label { margin: 0 0 17px; color: var(--blue-dark); font-size: 11px; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.project-copy h3 { margin: 0; font-size: 49px; letter-spacing: -.045em; }
.project-copy > p:not(.project-label) { max-width: 440px; margin: 18px 0 0; color: var(--muted); font-size: 16px; }
.project-link { margin-top: 40px; padding-bottom: 5px; border-bottom: 1px solid #89c4e5; color: var(--blue-dark); font-size: 13px; font-weight: 700; }
.project-link b { margin-left: 8px; }
.project-art { position: relative; display: grid; place-items: center; min-height: 430px; overflow: hidden; background: linear-gradient(145deg, #ddf3ff, #83c9ed); }
.project-ring { position: absolute; border: 1px solid rgba(255,255,255,.54); border-radius: 50%; }
.ring-one { width: 470px; height: 470px; }
.ring-two { width: 330px; height: 330px; }
.project-logo-card { position: relative; z-index: 2; width: min(355px, 72%); padding: 22px; border: 1px solid rgba(255,255,255,.72); border-radius: 30px; background: rgba(255,255,255,.9); box-shadow: 0 30px 65px rgba(34,102,144,.22); transform: rotate(-3deg); transition: transform .3s ease; }
.project-card:hover .project-logo-card { transform: rotate(0deg) scale(1.025); }
.project-logo-card img { border-radius: 20px; }

.about { background: white; }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.about h2 { font-size: clamp(42px, 5vw, 67px); }
.large-copy { margin: 0 0 25px; color: var(--ink); font-size: 25px; line-height: 1.5; letter-spacing: -.02em; }
.about-text > p:not(.large-copy) { color: var(--muted); font-size: 17px; }
.values { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 45px; }
.values div { padding: 18px 0; border-top: 1px solid var(--line); }
.values strong, .values span { display: block; }
.values strong { font-size: 15px; }
.values span { margin-top: 3px; color: #7d91a3; font-size: 11px; }

.contact { padding: 25px 0 90px; }
.contact-panel { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center; padding: 67px 72px; border-radius: 28px; color: white; background: linear-gradient(125deg, #237fb9, #51afe2); box-shadow: 0 25px 60px rgba(35,128,186,.24); }
.eyebrow.light { color: #dff4ff; }
.contact h2 { max-width: 700px; font-size: clamp(38px, 4.5vw, 60px); }
.contact-panel p:not(.eyebrow) { margin: 17px 0 0; color: #e1f4ff; }
.button-white { min-width: 280px; color: var(--blue-dark); background: white; box-shadow: 0 14px 30px rgba(20,93,138,.18); }

.site-footer { padding: 66px 0 32px; background: #f8fbfd; border-top: 1px solid var(--line); }
.footer-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 45px; }
.footer-links { display: flex; gap: 30px; color: var(--muted); font-size: 13px; font-weight: 600; }
.footer-links a:hover { color: var(--blue-dark); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 25px; border-top: 1px solid var(--line); color: #8395a5; font-size: 11px; }
.footer-bottom p { margin: 0; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-one { transition-delay: .12s; }
.delay-two { transition-delay: .22s; }

@media (max-width: 930px) {
  .hero { padding-top: 132px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-copy { text-align: center; }
  .eyebrow, .hero-actions, .hero-points { justify-content: center; }
  .hero-lead { margin-inline: auto; }
  .hero-visual { width: min(520px,100%); margin-inline: auto; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .service-icon { margin-bottom: 35px; }
  .project-card { grid-template-columns: 1fr; }
  .project-art { order: -1; min-height: 380px; }
  .about-grid { grid-template-columns: 1fr; gap: 45px; }
  .contact-panel { grid-template-columns: 1fr; text-align: center; }
  .contact-panel .eyebrow { justify-content: center; }
  .button-white { justify-self: center; }
}

@media (max-width: 700px) {
  .container { width: min(100% - 32px, 1160px); }
  .nav-wrap { height: 80px; }
  .brand-logo { height: 52px; }
  .brand-logo-footer { height: 58px; }
  .menu-toggle { display: block; cursor: pointer; }
  .main-nav { position: absolute; display: none; top: 80px; left: 16px; right: 16px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: var(--shadow); }
  .main-nav.open { display: grid; gap: 18px; }
  .nav-cta { text-align: center; }
  .hero { min-height: auto; padding: 120px 0 65px; }
  .hero h1 { font-size: clamp(44px, 13vw, 61px); }
  .hero-lead { font-size: 17px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-points { flex-wrap: wrap; }
  .hero-visual { height: 420px; transform: scale(.86); transform-origin: top center; margin-bottom: -55px; }
  .phone-front { right: calc(50% - 130px); }
  .phone-back { right: calc(50% + 48px); }
  .chip-ios { right: calc(50% - 230px); }
  .chip-android { right: calc(50% + 95px); }
  .section { padding: 82px 0; }
  .section-heading { margin-bottom: 36px; }
  .split-heading { grid-template-columns: 1fr; gap: 10px; }
  .project-art { min-height: 300px; }
  .project-copy { padding: 36px 27px 42px; }
  .project-copy h3 { font-size: 40px; }
  .values { grid-template-columns: 1fr; }
  .contact { padding-bottom: 65px; }
  .contact-panel { padding: 48px 24px; gap: 35px; }
  .button-white { min-width: 0; width: 100%; font-size: 12px; }
  .footer-top { align-items: flex-start; gap: 35px; }
  .footer-links { display: grid; grid-template-columns: 1fr 1fr; }
  .footer-bottom { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
