:root {
  color-scheme: dark;
  --navy: #051236;
  --cream: #fffde2;
  --muted: #c5cbe0;
  --line: #fffde235;
  --blue: #a2baff;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--navy); color: var(--cream); font: 1rem/1.7 system-ui, -apple-system, sans-serif; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
main section[id] { scroll-margin-top: 5.5rem; }
.header { position: sticky; z-index: 5; top: 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem clamp(1rem, 5vw, 5rem); background: #051236ed; border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.header a, .footer a { text-decoration: none; }
.header a:not(.cta-btn):hover, .footer a:hover { opacity: .7; }
.brand, nav, .actions { display: flex; align-items: center; gap: clamp(.5rem, 2vw, 1.5rem); }
.brand { font-weight: 650; }
.brand-mark { display: block; height: 1.45rem; width: auto; flex: none; fill: currentColor; }
nav { font-size: .9rem; }
.cta-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 2rem; border: 1px solid rgba(255,253,226,.2); color: var(--cream); font-size: .9rem; font-weight: 500; text-decoration: none; transition: background .35s, border-color .35s, color .35s; }
.cta-btn:hover { background: #fffde21a; border-color: var(--cream); }
.cta-btn-primary { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.cta-btn-primary:hover { background: transparent; color: var(--cream); }
.header .cta-btn { padding: .55rem 1rem; }
.wrap { width: min(1200px, 100% - 2 * clamp(1.25rem, 6vw, 6rem)); margin-inline: auto; }
.hero { position: relative; isolation: isolate; min-height: min(720px, 88svh); overflow: hidden; display: grid; align-items: center; border-bottom: 1px solid var(--line); }
.hero-content { padding-block: clamp(4rem, 9vw, 8rem); }
.hero-art { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 83% 50%, #2143a9 0%, #101f50 33%, transparent 69%); }
.hero-art i { position: absolute; top: 50%; left: 75%; width: min(58vw, 820px); aspect-ratio: 1; border: 1px solid #b7c9ff75; border-radius: 43% 57% 61% 39%; box-shadow: inset 0 0 72px #7e9fff44, 0 0 44px #7e9fff44; animation: orbit 26s linear infinite; }
.hero-art i:nth-child(2) { width: min(50vw, 740px); animation-duration: 20s; animation-direction: reverse; }
.hero-art i:nth-child(3) { width: min(40vw, 610px); animation-duration: 16s; }
@keyframes orbit { from { transform: translate(-50%, -50%) rotate(0); } to { transform: translate(-50%, -50%) rotate(360deg); } }
.section-label { display: flex; align-items: center; gap: .8rem; margin: 0 0 2rem; color: var(--cream); font-size: 1.05rem; font-style: italic; }
.section-label::before { content: ""; width: 1.6rem; height: .1rem; background: currentColor; }
.contact .section-label { justify-content: center; }
.eyebrow { margin: 0 0 1rem; color: var(--blue); font-size: .875rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 650; }
h1, h2, h3 { margin: 0; line-height: .98; letter-spacing: -.055em; }
h1 { font-size: clamp(3.6rem, 11.5vw, 10rem); }
h2 { font-size: clamp(3rem, 7vw, 6.5rem); }
h3 { font-size: clamp(1.45rem, 3.3vw, 2.6rem); }
em { font-weight: 450; }
.lede, .intro > p, article p:last-child { color: var(--muted); }
.lede { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 33rem; margin: 1.5rem 0; }
.actions { flex-wrap: wrap; }
.section { padding-block: clamp(4rem, 9vw, 8rem); }
.intro { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; align-items: end; margin-bottom: 2.5rem; }
.intro > p { max-width: 28rem; margin: 0; }
.projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 1.4rem; }
.frame { display: block; overflow: hidden; border: 1px solid var(--line); text-decoration: none; background: #111f47; transition: border-color .25s, box-shadow .25s; }
.frame span { display: block; padding: .65rem 1rem; color: var(--muted); font-size: .875rem; }
.frame img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; transition: transform .5s; }
.frame:focus-visible, .frame:hover { border-color: var(--blue); box-shadow: 0 0 35px #87a6ff2e; }
.frame:hover img { transform: scale(1.035); }
.project-copy { padding: 1.25rem .15rem 0; }
.project-copy p:last-child, .service-grid p { margin-bottom: 0; }
.services { background: #0d1d46; border-block: 1px solid var(--line); }
.service-grid { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.service-grid article { padding: 1.5rem; border: 1px solid #fffde214; background: #061439; transition: background .35s; }
.service-grid article:hover { background: #0a1b49; }
.service-grid h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; text-transform: uppercase; }
.contact { text-align: center; }
.contact .lede { margin-inline: auto; }
.footer { border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .8rem 2rem; justify-content: space-between; padding-block: 1.5rem; color: var(--muted); }
.enter { animation: enter .65s ease-out both; }
@keyframes enter { from { transform: translateY(22px); opacity: .35; } to { transform: translateY(0); opacity: 1; } }
@media (max-width: 690px) {
  .header { flex-wrap: wrap; gap: .55rem; }
  .cta-btn { padding: .7rem 1.2rem; }
  .header nav { justify-content: space-between; width: 100%; }
  main section[id] { scroll-margin-top: 8rem; }
  .hero-art i { left: 83%; width: 75vw; }
  .intro, .projects, .service-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .frame:hover img { transform: none; }
}
