:root {
  color-scheme: dark;
  --navy: #071a38;
  --blue: #91b6ff;
  --accent: #58d6a5;
  --card-surface: #4a6591;
  --white: #f7f9fd;
  --muted: #aab7cc;
  --font-body: "DM Sans", sans-serif;
  --font-display: "Manrope", sans-serif;
}

* { box-sizing: border-box; }
body { min-width: 320px; min-height: 100vh; margin: 0; background: var(--navy); color: var(--white); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
.page-shell { position: relative; display: flex; min-height: 100vh; flex-direction: column; overflow: hidden; padding: 0 clamp(24px, 7vw, 108px); }
.page-shell::before { position: absolute; inset: 0; background-image: linear-gradient(rgb(154 181 226 / 5%) 1px, transparent 1px), linear-gradient(90deg, rgb(154 181 226 / 5%) 1px, transparent 1px); background-size: 72px 72px; content: ""; mask-image: linear-gradient(90deg, transparent, black 36%, black 95%); pointer-events: none; }
.page-shell::after { position: absolute; top: 4%; right: -230px; width: 680px; height: 680px; border: 1px solid rgb(143 174 228 / 10%); border-radius: 50%; box-shadow: 0 0 0 70px rgb(143 174 228 / 3%), 0 0 0 140px rgb(143 174 228 / 2%); content: ""; pointer-events: none; }
.site-header, .hero, .site-footer { position: relative; z-index: 1; }
.site-header { display: flex; min-height: 112px; align-items: center; justify-content: space-between; border-bottom: 1px solid rgb(206 218 239 / 12%); }
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; width: 92px; height: 70px; object-fit: contain; }
.header-note { color: #9baac2; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr); align-items: center; gap: 48px; padding-block: 70px; }
.hero-copy { max-width: 650px; padding-block: 25px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; color: #b7c9e9; font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 15px rgb(88 214 165 / 70%); }
h1 { max-width: 650px; margin: 0 0 23px; font: 600 clamp(42px, 6.5vw, 76px)/1.08 var(--font-display); letter-spacing: -.065em; }
h1 span { color: var(--blue); }
.intro { max-width: 480px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.85; }
.contact-link { display: inline-flex; min-height: 54px; align-items: center; gap: 32px; margin-top: 35px; padding: 0 19px; border: 1px solid rgb(157 185 238 / 40%); border-radius: 7px; background: rgb(255 255 255 / 4%); color: white; font-size: 13px; font-weight: 600; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.contact-link:hover { transform: translateY(-2px); border-color: #91b6ff; background: rgb(255 255 255 / 8%); }
.arrow { color: var(--blue); font-size: 18px; }
.contact-caption { margin: 12px 0 0 2px; color: #aab7cc; font-size: 13px; font-weight: 500; }
.hero-mark { position: relative; width: min(100%, 390px); aspect-ratio: 1; justify-self: center; display: grid; align-content: center; justify-items: center; border: 1px solid rgb(145 182 255 / 25%); border-radius: 50%; background: radial-gradient(circle at 50% 45%, rgb(38 69 120 / 72%), rgb(10 29 60 / 84%) 60%); box-shadow: 0 0 0 18px rgb(145 182 255 / 3%), 0 0 100px rgb(52 102 197 / 16%), inset 0 0 45px rgb(145 182 255 / 9%); }
.mark-orbit { position: absolute; inset: 9%; border: 1px solid rgb(145 182 255 / 13%); border-radius: 50%; transform: rotate(-28deg) scaleY(.73); }
.mark-orbit-two { inset: 19%; transform: rotate(32deg) scaleY(.73); }
.mark-text { position: relative; margin: -8px 0 0 -8px; color: white; font: 800 clamp(92px, 13vw, 142px)/.9 var(--font-display); letter-spacing: -.12em; }
.mark-caption { margin-top: 13px; color: #b7c9e9; font-size: 11px; font-weight: 700; letter-spacing: .38em; }
.mark-spark { position: absolute; top: 21%; right: 25%; color: var(--blue); font-size: 18px; }
.solutions { position: relative; z-index: 1; padding: 12px 0 76px; }
.section-heading { max-width: 620px; margin-bottom: 28px; }
.section-heading .eyebrow { margin-bottom: 12px; }
.section-heading h2 { margin: 0; font: 600 clamp(28px, 4vw, 42px)/1.15 var(--font-display); letter-spacing: -.045em; }
.solution-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.solution-card { min-height: 260px; padding: 30px; border: 1px solid rgb(157 185 238 / 24%); border-radius: 12px; background: var(--card-surface); }
.solution-indicator { display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px rgb(88 214 165 / 45%); }
.solution-card h3 { margin: 20px 0 9px; font: 600 17px/1.35 var(--font-display); }
.solution-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.portfolio { position: relative; z-index: 1; padding: 12px 0 76px; }
.portfolio-intro { max-width: 620px; margin: 14px 0 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.portfolio-card { overflow: hidden; border: 1px solid rgb(157 185 238 / 24%); border-radius: 12px; background: var(--card-surface); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.portfolio-card:hover { transform: translateY(-3px); border-color: rgb(145 182 255 / 65%); box-shadow: 0 14px 32px rgb(0 0 0 / 18%); }
.portfolio-image { display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; overflow: hidden; border: 0; background: #071a38; cursor: zoom-in; }
.portfolio-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.portfolio-image:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
.portfolio-copy { padding: 20px 22px 23px; }
.portfolio-copy h3 { margin: 0 0 8px; font: 600 17px/1.4 var(--font-display); }
.portfolio-copy p { margin: 0; color: #d0dbee; font-size: 13px; line-height: 1.7; }
.image-viewer { position: fixed; width: min(92vw, 1100px); max-width: none; max-height: 92vh; margin: auto; padding: 50px 16px 16px; overflow: auto; border: 1px solid rgb(145 182 255 / 30%); border-radius: 12px; background: #071a38; color: var(--white); box-shadow: 0 24px 80px rgb(0 0 0 / 50%); }
.image-viewer::backdrop { background: rgb(2 9 22 / 84%); backdrop-filter: blur(4px); }
.image-viewer > img { display: block; width: auto; height: auto; max-width: 100%; max-height: 80vh; margin: 0 auto; object-fit: contain; border-radius: 6px; }
.image-viewer-controls { position: absolute; top: 10px; right: 12px; }
.image-viewer-close { padding: 7px 11px; border: 1px solid rgb(157 185 238 / 35%); border-radius: 6px; background: rgb(255 255 255 / 7%); color: var(--white); font: 500 13px var(--font-body); cursor: pointer; }
.image-viewer-close span { margin-left: 5px; color: var(--blue); font-size: 17px; }
.site-footer { display: flex; min-height: 68px; align-items: center; justify-content: space-between; border-top: 1px solid rgb(206 218 239 / 12%); color: #8392aa; font-size: 11px; }
.company-id { margin-left: 10px; color: #aab7cc; }
.footer-domain { color: #abb9cf; letter-spacing: .04em; }

@media (max-width: 760px) {
  .page-shell { padding-inline: 26px; }
  .site-header { min-height: 88px; }
  .brand img { width: 78px; height: 60px; }
  .header-note { max-width: 145px; text-align: right; font-size: 9px; line-height: 1.5; }
  .hero { grid-template-columns: 1fr; gap: 50px; padding-block: 64px 48px; }
  .hero-mark { width: min(72vw, 300px); }
  .mark-text { font-size: clamp(90px, 25vw, 120px); }
  .solutions { padding: 8px 0 52px; }
  .solution-grid { grid-template-columns: 1fr; gap: 12px; }
  .solution-card { min-height: 0; padding: 24px; }
  .solution-card h3 { margin-top: 16px; }
  .portfolio { padding: 8px 0 52px; }
  .portfolio-grid { grid-template-columns: 1fr; gap: 14px; }
  .portfolio-copy { padding: 18px 20px 21px; }
  .image-viewer { width: 96vw; padding: 48px 10px 10px; }
  .image-viewer > img { max-height: 78vh; }
  .site-footer { min-height: 60px; gap: 14px; font-size: 9px; }
  .company-id { display: block; margin: 4px 0 0; }
}

@media (min-width: 761px) and (max-width: 1000px) {
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 390px) {
  .page-shell { padding-inline: 20px; }
  .hero { padding-block: 48px 36px; }
  .eyebrow { font-size: 9px; }
  .intro { font-size: 14px; }
  .contact-link { width: 100%; justify-content: space-between; gap: 12px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }
