:root {
  --navy: #101838;
  --navy-deep: #091127;
  --teal: #168d91;
  --teal-dark: #0b6d73;
  --cyan: #57d8d2;
  --ink: #11172d;
  --body: #4b556b;
  --muted: #f4f7f9;
  --white: #fff;
  --line: #dfe7eb;
  --shadow: 0 18px 45px rgba(9, 17, 39, .13);
  --radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "Poppins", system-ui, sans-serif; font-size: 16px; line-height: 1.65; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 9999; top: 12px; left: 12px; transform: translateY(-150%); padding: 10px 16px; color: var(--navy); background: var(--white); border-radius: 6px; font-weight: 700; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }

.site-header { position: absolute; z-index: 50; inset: 0 0 auto; color: var(--white); border-bottom: 1px solid rgba(255,255,255,.1); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-size: 17px; font-weight: 700; line-height: 1.1; }
.logo strong { display: block; color: var(--cyan); font-size: 10px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.logo-mark { position: relative; width: 30px; height: 30px; display: inline-block; transform: rotate(45deg); }
.logo-mark i { position: absolute; display: block; width: 22px; height: 7px; border-radius: 10px; background: var(--white); }
.logo-mark i:first-child { top: 5px; left: 2px; }
.logo-mark i:last-child { right: 2px; bottom: 5px; background: var(--cyan); }
.nav-menu { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-menu a { display: block; padding: 10px 12px; color: rgba(255,255,255,.82); text-decoration: none; font-size: 13px; font-weight: 500; transition: color .2s ease, background .2s ease; border-radius: 7px; }
.nav-menu a:hover, .nav-menu a:focus-visible { color: var(--white); background: rgba(255,255,255,.08); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle > span:not(.screen-reader-text) { display: block; height: 2px; margin: 5px 0; background: var(--white); transition: transform .2s, opacity .2s; }

.hero { position: relative; overflow: hidden; min-height: 670px; padding: 180px 0 110px; color: var(--white); background: radial-gradient(circle at 78% 34%, rgba(36,207,201,.19), transparent 28%), linear-gradient(135deg, var(--navy-deep), var(--navy)); }
.hero::before { content: ""; position: absolute; width: 600px; height: 600px; right: -280px; top: 30px; border: 1px solid rgba(87,216,210,.18); border-radius: 50%; box-shadow: 0 0 0 85px rgba(87,216,210,.025), 0 0 0 170px rgba(87,216,210,.02); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; }
.hero-copy { max-width: 650px; }
.eyebrow, .section-kicker { margin: 0 0 9px; color: var(--teal-dark); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.hero .eyebrow { color: var(--cyan); }
.hero h1 { max-width: 700px; margin: 0 0 20px; font-size: clamp(38px, 5.2vw, 66px); line-height: 1.04; letter-spacing: -.035em; text-transform: uppercase; }
.lead { max-width: 610px; margin: 0 0 32px; color: rgba(255,255,255,.76); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 12px 22px; border: 1px solid transparent; border-radius: 7px; text-decoration: none; font-size: 13px; font-weight: 700; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: var(--navy-deep); background: var(--cyan); box-shadow: 0 10px 28px rgba(87,216,210,.2); }
.btn-outline { color: var(--white); border-color: rgba(255,255,255,.38); background: rgba(255,255,255,.03); }
.hero-art { position: relative; min-height: 360px; display: grid; place-items: center; }
.browser-card { position: relative; z-index: 2; width: min(430px, 100%); aspect-ratio: 1.42; overflow: hidden; border: 1px solid rgba(255,255,255,.2); border-radius: 12px; background: rgba(9,17,39,.74); box-shadow: 0 32px 65px rgba(0,0,0,.35); transform: perspective(900px) rotateY(-8deg) rotateX(3deg); backdrop-filter: blur(10px); }
.browser-top { display: flex; gap: 6px; padding: 13px 15px; border-bottom: 1px solid rgba(255,255,255,.12); }
.browser-top i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); opacity: .75; }
.browser-body { height: calc(100% - 34px); display: grid; grid-template-columns: 1fr .85fr; align-items: end; gap: 24px; padding: 34px; }
.code-lines i { display: block; height: 7px; margin: 14px 0; border-radius: 5px; background: rgba(255,255,255,.15); }
.code-lines i:nth-child(2), .code-lines i:nth-child(5) { width: 65%; background: rgba(87,216,210,.62); }
.code-lines i:nth-child(3) { width: 84%; }
.chart { height: 145px; display: flex; align-items: end; gap: 10px; border-bottom: 1px solid rgba(255,255,255,.25); }
.chart span { flex: 1; height: 38%; background: linear-gradient(var(--cyan), var(--teal)); border-radius: 4px 4px 0 0; }
.chart span:nth-child(2) { height: 72%; }.chart span:nth-child(3) { height: 52%; }.chart span:nth-child(4) { height: 92%; }
.orbit { position: absolute; border: 1px solid rgba(87,216,210,.25); border-radius: 50%; }
.orbit-one { width: 420px; height: 170px; transform: rotate(-25deg); }.orbit-two { width: 330px; height: 330px; }

.services-section, .about-section { padding: 92px 0; }
.section-title { margin: 0 0 42px; font-size: clamp(30px, 4vw, 45px); line-height: 1.15; text-align: center; text-transform: uppercase; letter-spacing: -.025em; }
.section-kicker { text-align: center; }
.section-kicker.light, .section-title.light { color: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { position: relative; min-height: 245px; display: flex; flex-direction: column; justify-content: center; padding: 38px 32px; text-align: center; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 8px 30px rgba(17,23,45,.06); transition: transform .25s, box-shadow .25s; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.service-card.featured::before { content: ""; position: absolute; inset: -1px -1px auto; height: 5px; border-radius: var(--radius) var(--radius) 0 0; background: var(--teal); }
.services-grid .service-card > img,
.services-grid .service-card picture,
.services-grid .service-card .service-icon { display: none !important; }
.service-card h3 { margin: 0 0 14px; font-size: 20px; line-height: 1.25; }
.service-card p { margin: 0; color: var(--body); font-size: 14px; }

.projects-section { position: relative; overflow: hidden; padding: 90px 0 72px; color: var(--white); background: linear-gradient(145deg, var(--teal-dark), var(--teal)); }
.projects-section::before { content: ""; position: absolute; inset: 0; opacity: .13; background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px); background-size: 45px 45px; mask-image: linear-gradient(to bottom, black, transparent 85%); }
.projects-section .container { position: relative; }
.project-row { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 90px; min-height: 470px; padding: 42px 4%; border-top: 1px solid rgba(255,255,255,.2); }
.project-row.reverse { grid-template-columns: 1.1fr .9fr; }
.project-row.reverse .project-device { order: 2; }
.project-device { display: flex; align-items: center; justify-content: center; }
.project-copy { max-width: 560px; }
.project-label { display: inline-block; padding: 5px 10px; margin-bottom: 13px; border-radius: 4px; color: var(--navy); background: var(--cyan); font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.project-copy h3 { margin: 0 0 4px; font-size: clamp(29px, 4vw, 43px); line-height: 1.12; }
.project-copy p { color: rgba(255,255,255,.84); }
.project-copy .project-status { margin: 0 0 20px; color: var(--white); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.project-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 23px; }
.project-meta span { padding: 6px 11px; border: 1px solid rgba(255,255,255,.35); border-radius: 99px; font-size: 11px; }
.project-poster { width: min(360px, 100%); overflow: hidden; border: 7px solid rgba(255,255,255,.9); border-radius: 18px; background: var(--navy-deep); box-shadow: 0 28px 55px rgba(4,37,42,.35); transform: rotate(-2deg); }
.project-poster img { display: block; width: 100%; height: auto; }
.project-progress { max-width: 470px; margin-top: 28px; }
.progress-label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; color: var(--white); font-size: 12px; font-weight: 600; }
.progress-label strong { color: var(--cyan); font-size: 15px; }
.progress-track { height: 9px; overflow: hidden; border-radius: 99px; background: rgba(9,17,39,.35); }
.progress-track span { display: block; width: 90%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--cyan), var(--white)); }
.desktop-device { flex-direction: column; }
.laptop-screen { width: min(380px, 100%); aspect-ratio: 1.55; padding: 16px; border: 8px solid var(--navy-deep); border-radius: 11px; background: #eef5f5; box-shadow: 0 30px 55px rgba(4,37,42,.3); }
.store-ui { height: 100%; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 28px; background: var(--white); }
.store-ui span { border-radius: 7px; background: linear-gradient(145deg, #dceff0, #8ccfd0); }
.laptop-base { width: min(460px, 115%); height: 16px; border-radius: 3px 3px 50% 50%; background: #dce6e8; box-shadow: 0 10px 18px rgba(0,0,0,.18); }

.about-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 85px; }
.about-copy .section-kicker { text-align: left; }
.about-copy h2 { margin: 0 0 22px; font-size: clamp(30px, 4vw, 45px); line-height: 1.15; text-transform: uppercase; letter-spacing: -.025em; }
.about-copy p { color: var(--body); }
.text-link { display: inline-block; margin-top: 10px; color: var(--teal-dark); font-weight: 700; text-decoration: none; }
.team-visual { position: relative; min-height: 430px; display: flex; align-items: end; justify-content: center; gap: 10px; overflow: hidden; border-radius: var(--radius); background: linear-gradient(155deg, #eef7f7, #d7eaeb); }
.team-visual::before { content: ""; position: absolute; width: 290px; height: 290px; top: -80px; right: -70px; border: 45px solid rgba(22,141,145,.12); border-radius: 50%; }
.team-member { position: relative; z-index: 2; width: 29%; height: 68%; display: grid; place-items: start center; padding-top: 42px; border-radius: 80px 80px 0 0; color: var(--white); background: var(--navy); box-shadow: 0 15px 30px rgba(9,17,39,.2); }
.team-member span { width: 68px; height: 68px; display: grid; place-items: center; border: 4px solid rgba(255,255,255,.7); border-radius: 50%; font-weight: 800; }
.member-two { height: 79%; background: var(--teal); }.member-three { height: 62%; background: #263259; }

.contact-cta { padding: 60px 0; color: var(--white); background: var(--navy); }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.contact-inner .section-kicker { text-align: left; color: var(--cyan); }
.contact-inner h2 { margin: 0; font-size: clamp(27px, 4vw, 42px); line-height: 1.2; }
.btn-light { color: var(--navy); background: var(--white); white-space: nowrap; }
.btn-light { cursor: pointer; }

.project-modal { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 24px; visibility: hidden; opacity: 0; transition: opacity .2s, visibility .2s; }
.project-modal.is-open { visibility: visible; opacity: 1; }
.project-modal-backdrop { position: absolute; inset: 0; background: rgba(5,10,25,.82); backdrop-filter: blur(7px); }
.project-modal-dialog { position: relative; width: min(680px, 100%); max-height: calc(100vh - 48px); overflow-y: auto; padding: 42px; border-radius: 18px; background: var(--white); box-shadow: 0 30px 90px rgba(0,0,0,.35); }
.project-modal-dialog .section-kicker { text-align: left; }
.project-modal-dialog h2 { margin: 0 0 8px; font-size: clamp(28px, 5vw, 40px); line-height: 1.15; }
.form-intro { margin: 0 40px 27px 0; color: var(--body); font-size: 14px; }
.project-modal-close { position: absolute; top: 17px; right: 18px; width: 42px; height: 42px; border: 0; border-radius: 50%; color: var(--navy); background: var(--muted); cursor: pointer; font-size: 28px; line-height: 1; }
.project-form { display: grid; gap: 17px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.project-form label { display: grid; gap: 7px; color: var(--ink); font-size: 13px; font-weight: 600; }
.project-form input:not([type="checkbox"]), .project-form select, .project-form textarea { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #ccd8dd; border-radius: 8px; color: var(--ink); background: var(--white); font-weight: 400; }
.project-form textarea { min-height: 125px; resize: vertical; }
.project-form input:focus, .project-form select:focus, .project-form textarea:focus { border-color: var(--teal); outline: 3px solid rgba(22,141,145,.14); }
.consent-field { grid-template-columns: 20px 1fr !important; align-items: start; gap: 10px !important; color: var(--body) !important; font-weight: 400 !important; }
.consent-field input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--teal); }
.form-submit { width: 100%; border: 0; cursor: pointer; }
.form-notice { margin-bottom: 20px; padding: 13px 15px; border-radius: 8px; font-size: 13px; }
.form-notice-success { color: #075c45; background: #dff8ed; }.form-notice-error { color: #8c2630; background: #ffe7e9; }
.form-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-submit:disabled { cursor: wait; opacity: .68; transform: none; }
.project-toast { position: fixed; z-index: 1100; top: 24px; right: 24px; width: min(430px, calc(100% - 32px)); display: grid; grid-template-columns: 42px 1fr 32px; align-items: center; gap: 13px; padding: 17px 16px; border: 1px solid #bcebd8; border-radius: 13px; color: #064d3b; background: #edfff7; box-shadow: 0 18px 50px rgba(9,17,39,.2); opacity: 0; transform: translateY(-18px); transition: opacity .25s, transform .25s; }
.project-toast.is-visible { opacity: 1; transform: translateY(0); }
.project-toast[hidden] { display: none; }
.project-toast-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: #0a9b70; font-size: 21px; font-weight: 800; }
.project-toast div { display: flex; flex-direction: column; }.project-toast strong { font-size: 14px; }.project-toast div span { color: #397064; font-size: 12px; }
.project-toast button { width: 32px; height: 32px; border: 0; color: #397064; background: transparent; cursor: pointer; font-size: 24px; }

.site-footer { padding: 55px 0 20px; color: rgba(255,255,255,.75); background: var(--navy-deep); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 45px; padding-bottom: 35px; }
.footer-brand p { max-width: 420px; margin: 15px 0 0; font-size: 12px; }
.footer-email { color: var(--cyan); font-size: 14px; font-weight: 600; text-decoration: none; }
.footer-email:hover { text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: 10px; letter-spacing: .08em; }
.content-area { min-height: 70vh; padding: 140px 0 80px; }.content-area + .site-footer { margin-top: 0; }.prose { max-width: 850px; }.prose h1 { line-height: 1.15; }

@media (max-width: 900px) {
  .menu-toggle { position: relative; z-index: 52; display: block; }
  .main-nav { position: fixed; z-index: 51; inset: 0; display: grid; place-items: center; padding: 90px 30px 40px; background: rgba(9,17,39,.98); visibility: hidden; opacity: 0; transition: opacity .2s, visibility .2s; }
  .main-nav.is-open { visibility: visible; opacity: 1; }
  .nav-menu { flex-direction: column; gap: 5px; text-align: center; }
  .nav-menu a { padding: 13px 25px; font-size: 20px; }
  .menu-toggle[aria-expanded="true"] > span:nth-of-type(2) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-of-type(3) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] > span:nth-of-type(4) { transform: translateY(-7px) rotate(-45deg); }
  .hero { min-height: auto; padding: 145px 0 85px; }
  .hero-inner { grid-template-columns: 1fr; gap: 45px; }
  .hero-art { min-height: 300px; }
  .services-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .service-card { min-height: auto; }
  .project-row, .project-row.reverse { grid-template-columns: 1fr; gap: 45px; padding: 65px 0; }
  .project-row.reverse .project-device { order: 0; }
  .project-copy { margin-inline: auto; text-align: center; }
  .project-meta { justify-content: center; }
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .team-visual { min-height: 390px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-brand p { margin-inline: auto; }.footer-inner .logo { justify-content: center; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 28px, 1120px); }
  .header-inner { min-height: 68px; }
  .hero h1 { font-size: 37px; }
  .hero-art { min-height: 240px; }.browser-body { padding: 22px; }.chart { height: 105px; }
  .hero-actions .btn { width: 100%; }
  .services-section, .about-section { padding: 68px 0; }
  .section-title { margin-bottom: 30px; }
  .project-row { min-height: 0; }
  .team-visual { min-height: 310px; }.team-member { padding-top: 27px; }.team-member span { width: 52px; height: 52px; font-size: 12px; }
  .contact-inner, .footer-bottom { flex-direction: column; text-align: center; }.contact-inner .section-kicker { text-align: center; }
  .project-modal { padding: 10px; }.project-modal-dialog { max-height: calc(100vh - 20px); padding: 34px 20px 24px; }.form-grid { grid-template-columns: 1fr; }
  .project-toast { top: 12px; right: 16px; }
}

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