:root {
  --paper: #ffffff;
  --ink: #14171c;
  --dark: #111419;
  --muted: #66717e;
  --accent: #3c70ac;
  --accent-light: #86b5e9;
  --shell: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: "DM Sans", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { background: var(--accent); color: #fff; }
.shell { width: min(calc(100% - 96px), var(--shell)); margin-inline: auto; }
.skip-link { position: fixed; top: -60px; left: 20px; z-index: 50; padding: 12px 16px; border-radius: 12px; background: var(--accent-light); font-weight: 700; }
.skip-link:focus { top: 16px; }
.scroll-progress { position: fixed; top: 0; left: 0; z-index: 40; width: 100%; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.ambient-wordmark { display: none; }

.hero { position: relative; z-index: 2; display: flex; flex-direction: column; min-height: 100svh; overflow: hidden; background: var(--paper); }
.site-nav { position: relative; z-index: 10; display: flex; align-items: center; justify-content: space-between; height: 108px; }
.brand { display: inline-flex; align-items: center; gap: 17px; font-size: 14px; font-weight: 800; }
.brand img { display: block; width: 91px; height: auto; filter: brightness(0); }
.brand span { padding-left: 17px; border-left: 1px solid #dce4ec; }
.nav-links { display: flex; align-items: center; gap: 42px; font-size: 14px; font-weight: 700; }
.nav-links > a:not(.nav-contact) { transition: opacity .25s ease; }
.nav-links > a:not(.nav-contact):hover { opacity: .5; }
.nav-contact { display: inline-flex; align-items: center; gap: 16px; min-height: 49px; margin-left: 5px; padding: 0 19px 0 22px; border-radius: 999px; background: var(--ink); color: #fff; transition: background .25s ease; }
.nav-contact:hover { background: #253f62; }
.nav-contact svg { width: 17px; height: 17px; }
.menu-toggle { display: none; }

.hero-body { position: relative; display: flex; align-items: center; flex: 1; padding-block: 30px 40px; }
.hero-copy { position: relative; z-index: 2; width: 100%; }
.hero-hello { margin: 0 0 27px; color: #536174; font-size: clamp(17px, 1.45vw, 20px); font-weight: 600; }
.hero h1 { max-width: 1280px; margin: 0; font-family: Manrope, sans-serif; font-size: clamp(69px, 8.4vw, 140px); font-weight: 800; line-height: 1.04; letter-spacing: -.087em; }
.hero-line { display: block; }
.hero h1 em { display: inline-block; color: var(--accent); font-style: normal; }
.hero-footer { position: relative; z-index: 2; display: flex; justify-content: center; padding-bottom: clamp(30px, 4vw, 58px); }
.hero-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 24px; }
.hero-wipe { position: absolute; inset: 0; z-index: 15; overflow: hidden; background: var(--dark); clip-path: circle(0 at 50% 50%); pointer-events: none; }
.hero-wipe .about-section { min-height: 100%; margin-top: 0 !important; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 60px; padding: 0 25px; border-radius: 999px; font-size: 15px; font-weight: 800; transition: background .25s ease; }
.button-dark { background: var(--ink); color: #fff; }
.button-dark:hover { background: #253f62; }
.button svg, .round-link svg { width: 18px; height: 18px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; padding-block: 10px; border-bottom: 1px solid currentColor; font-size: 15px; font-weight: 700; }
.text-link svg { width: 16px; height: 16px; }

.dark-section { background: var(--dark); color: #f4f6f8; }
.light-section { background: var(--paper); color: var(--ink); }
.section-intro { margin: 0; color: #9faab7; font-size: 17px; font-weight: 700; }
.light-section .section-intro { color: #66717e; }
.about-section { padding-block: 138px 160px; }
.about-grid { display: grid; grid-template-columns: 1.03fr .97fr; gap: clamp(60px, 9vw, 140px); margin-top: 42px; }
.about-heading h2, .projects-heading h2, .contact-content h2 { margin: 0; font-family: Manrope, sans-serif; font-weight: 800; letter-spacing: -.075em; }
.about-heading h2 { max-width: 720px; font-size: clamp(58px, 6.4vw, 92px); line-height: 1.05; }
.about-heading h2 span { color: var(--accent-light); }
.about-origin { display: flex; align-items: end; gap: 22px; margin-top: 80px; }
.about-origin strong { font-family: Manrope, sans-serif; font-size: clamp(110px, 13vw, 180px); font-weight: 800; line-height: .75; letter-spacing: -.11em; }
.about-origin span { max-width: 205px; padding-bottom: 5px; color: #aeb7c2; font-size: 16px; line-height: 1.4; }
.about-text { padding-top: 8px; }
.about-text p { max-width: 555px; margin: 0 0 27px; color: #c4cbd4; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.64; }
.about-text p:first-child { color: #fff; }
.tool-list { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 44px; }
.tool-list span { padding: 10px 15px; border: 1px solid #424950; border-radius: 999px; color: #e6e9ee; font-size: 13px; font-weight: 700; }

.projects-section { position: relative; z-index: 3; padding-block: 205px 160px; }
.projects-heading { margin: 34px 0 73px; }
.projects-heading h2 { max-width: 840px; font-size: clamp(62px, 7vw, 100px); line-height: 1.04; }
.projects-heading h2 span { color: var(--accent); }
.project { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); min-height: 560px; overflow: hidden; border-radius: 38px; }
.project + .project { margin-top: 30px; }
.project-ems { background: #1b2430; color: #fff; }
.project-npa { background: #edf1f5; color: var(--ink); }
.project-moore { background: #191d23; color: #fff; }
.project-gov { background: #213247; color: #fff; }
.project-art { position: relative; display: grid; place-items: center; min-height: 560px; overflow: hidden; isolation: isolate; }
.project-art::after { position: absolute; inset: 0; z-index: 2; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); content: ""; pointer-events: none; }
.ems-art { background: #dfe6eb; }
.npa-art { background: #e1e6ec; }
.preview-window { position: relative; overflow: hidden; box-shadow: 0 35px 70px rgba(22, 28, 29, .22); will-change: transform; }
.ems-preview { display: grid; grid-template-columns: 1.05fr .95fr; width: 84%; aspect-ratio: 1.28; border-radius: 16px; background: #f4f5f5; }
.ems-preview-brand { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 24px; color: #24315b; text-align: center; }
.ems-preview-brand img { display: block; width: min(90%, 240px); height: auto; border-radius: 5px; }
.ems-preview-brand span { font-size: clamp(11px, 1.1vw, 16px); font-weight: 800; }
.ems-preview-login { display: flex; flex-direction: column; justify-content: center; padding: clamp(22px, 3.5vw, 55px); background: #1a1f83; color: #fff; }
.ems-preview-login strong { margin-bottom: 22px; font-family: Manrope, sans-serif; font-size: clamp(30px, 3vw, 52px); letter-spacing: -.07em; }
.ems-preview-login span { margin-bottom: 8px; font-size: clamp(10px, .9vw, 14px); font-weight: 700; }
.ems-preview-login i { display: block; width: 100%; height: clamp(24px, 3vw, 39px); margin-bottom: 17px; border-radius: 5px; background: #fff; }
.ems-preview-login b { align-self: flex-start; padding: 9px 17px; border-radius: 5px; background: #65ade8; font-size: clamp(10px, .9vw, 14px); }
.npa-preview { width: 87%; aspect-ratio: 1.28; border-radius: 15px; background: #f8f8f6; }
.npa-preview-nav { display: flex; align-items: center; gap: 18px; height: 23%; padding: 10px 6%; color: #182a3e; font-size: clamp(9px, .9vw, 14px); font-weight: 700; }
.npa-preview-nav img { width: clamp(48px, 6vw, 86px); height: 100%; object-fit: contain; margin-right: auto; }
.npa-preview-photo { position: relative; height: 77%; overflow: hidden; }
.npa-preview-photo::after { position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .53)); content: ""; }
.npa-preview-photo img { width: 100%; height: 100%; object-fit: cover; }
.npa-preview-photo strong { position: absolute; bottom: 8%; left: 6%; z-index: 1; color: #fff; font-family: Manrope, sans-serif; font-size: clamp(24px, 3.2vw, 52px); letter-spacing: -.055em; }
.gov-art { background: #d9e1e7; }
.gov-preview { width: 87%; aspect-ratio: 1.36; border-radius: 16px; background: #fff; color: #17334d; }
.gov-preview-nav { display: flex; align-items: center; gap: 5%; height: 15%; padding: 0 5%; font-size: clamp(7px, .75vw, 11px); font-weight: 700; }
.gov-preview-nav strong { margin-right: auto; font-size: clamp(10px, 1.05vw, 16px); }
.gov-preview-hero { position: relative; height: 68%; overflow: hidden; background: #142b41; }
.gov-preview-hero::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 28, 47, .9), rgba(9, 28, 47, .48) 62%, rgba(9, 28, 47, .13)); content: ""; }
.gov-preview-hero img { width: 100%; height: 100%; object-fit: cover; }
.gov-preview-copy { position: absolute; top: 30%; left: 7%; z-index: 1; color: #fff; }
.gov-preview-copy span { display: block; margin-bottom: 13px; font-size: clamp(7px, .75vw, 11px); font-weight: 700; }
.gov-preview-copy strong { font-family: Manrope, sans-serif; font-size: clamp(23px, 2.4vw, 36px); line-height: 1.14; letter-spacing: -.055em; }
.gov-preview-links { display: flex; align-items: center; justify-content: space-around; gap: 8px; height: 17%; padding: 0 5%; font-size: clamp(7px, .85vw, 13px); font-weight: 700; }
.gov-preview-links span { padding: 8px 10px; border-radius: 7px; background: #edf2f5; white-space: nowrap; }
.moore-art { background: #e2e7ed; }
.moore-preview { display: grid; grid-template-columns: 30% 70%; width: 87%; aspect-ratio: 1.36; border-radius: 16px; background: #f9fbff; color: #18304e; }
.moore-sidebar { display: flex; flex-direction: column; gap: 16%; padding: 9%; border-right: 1px solid #dce6f1; background: #eef4fc; }
.moore-sidebar strong { font-size: clamp(10px, 1vw, 15px); letter-spacing: -.055em; white-space: nowrap; }
.moore-sidebar strong span { color: #5b83b4; }
.moore-menu { display: flex; flex-direction: column; gap: 4px; }
.moore-menu span { padding: 8px 10px; border-radius: 7px; color: #748ba8; font-size: clamp(7px, .76vw, 11px); font-weight: 700; white-space: nowrap; }
.moore-menu .active { background: #dceafb; color: #245b98; }
.moore-content { padding: 7% 8%; }
.moore-topline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14%; color: #8499b2; font-size: clamp(7px, .7vw, 10px); font-weight: 700; }
.moore-topline i { display: block; width: 15%; height: 7px; border-radius: 20px; background: #dce8f6; }
.moore-content > strong { font-family: Manrope, sans-serif; font-size: clamp(21px, 2.3vw, 34px); letter-spacing: -.065em; }
.moore-table { display: flex; flex-direction: column; gap: 1px; margin-top: 8%; overflow: hidden; border: 1px solid #e3ebf5; border-radius: 9px; background: #e3ebf5; }
.moore-table > div { display: flex; align-items: center; justify-content: space-between; gap: 8%; height: clamp(31px, 4.1vw, 62px); padding: 0 5%; background: #fff; }
.moore-table i { display: block; width: 23%; height: 6px; border-radius: 9px; background: #e0eaf6; }
.moore-table i:first-child { width: 39%; background: #c6d8ec; }
.moore-table i:last-child { width: 15%; background: #d4e5f7; }
.project-info { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(37px, 4vw, 64px); }
.project-type { font-size: 15px; font-weight: 700; opacity: .72; }
.project-info h3 { max-width: 395px; margin: auto 0 20px; font-family: Manrope, sans-serif; font-size: clamp(44px, 4.2vw, 66px); font-weight: 800; line-height: 1.08; letter-spacing: -.065em; }
.project-info p { max-width: 395px; margin: 0; font-size: 18px; line-height: 1.58; opacity: .78; }
.project-tech { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 28px; }
.project-tech span { padding: 7px 11px; border: 1px solid currentColor; border-radius: 999px; font-size: 11px; font-weight: 700; opacity: .72; }
.project-private { margin-top: 48px; font-size: 14px; font-weight: 700; opacity: .58; }
.round-link { display: inline-flex; align-items: center; gap: 17px; margin-top: 48px; padding: 15px 19px; border-radius: 999px; background: #e9f1fb; color: #173452; font-size: 14px; font-weight: 800; }
.project-npa .round-link { background: var(--ink); color: #fff; }
.project-npa .project-art { order: 2; }
.project-npa .project-info { order: 1; }
.project-moore .project-art { order: 2; }
.project-moore .project-info { order: 1; }
.all-projects-link { display: inline-flex; align-items: center; gap: 15px; margin-top: 48px; padding-bottom: 10px; border-bottom: 1px solid var(--ink); font-size: 16px; font-weight: 800; }
.all-projects-link svg { width: 18px; height: 18px; }

.contact-section { padding-block: 140px 170px; }
.contact-content { padding-top: 78px; }
.contact-kicker { margin: 0 0 21px; color: #b2bbc6; font-size: clamp(17px, 2vw, 25px); }
.contact-content h2 { max-width: 1050px; font-size: clamp(68px, 9vw, 142px); line-height: 1; }
.contact-content h2 span { color: var(--accent-light); }
.contact-content h2 span { display: inline-block; transform-origin: left center; }
.contact-email { display: inline-flex; align-items: center; gap: 28px; max-width: 100%; margin-top: 70px; padding-bottom: 10px; border-bottom: 2px solid currentColor; font-family: Manrope, sans-serif; font-size: clamp(22px, 3.2vw, 44px); font-weight: 600; letter-spacing: -.05em; overflow-wrap: anywhere; }
.contact-email svg { flex: none; width: 27px; height: 27px; }
.contact-links { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 32px; }
.contact-github, .contact-discord { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: #b2bbc6; font-size: 15px; font-weight: 700; }
.contact-github svg, .contact-discord svg { width: 17px; height: 17px; }
.contact-discord { padding: 0; border: 0; background: none; cursor: pointer; }
.contact-discord strong { color: #fff; font-weight: 700; }
.contact-discord:hover, .contact-github:hover { color: #fff; }
.copy-status { display: block; min-height: 19px; margin-top: 8px; color: var(--accent-light); font-size: 13px; }
.site-footer { padding-bottom: 40px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-top: 28px; border-top: 1px solid #3b4149; color: #a2acb8; font-size: 13px; }
.footer-inner img { display: block; width: 82px; height: auto; filter: invert(1); }
.footer-inner a:last-child:hover { color: #fff; }

@media (min-width: 1200px) {
  :root { --wordmark-rail: clamp(210px, 17vw, 260px); }
  .shell { width: min(calc(100% - var(--wordmark-rail) - 96px), var(--shell)); margin-left: max(48px, calc((100% - var(--shell)) / 2)); margin-right: auto; }
  .hero-footer { width: 100%; margin-inline: 0; }
  .ambient-wordmark { position: fixed; inset: 0 0 0 auto; z-index: 35; display: block; width: var(--wordmark-rail); height: 100svh; color: #fff; mix-blend-mode: difference; pointer-events: none; }
  .ambient-wordmark img { position: absolute; top: 50%; left: 50%; display: block; width: 90svh; max-width: none; height: auto; translate: -50% -50%; rotate: -90deg; filter: invert(1); }
}

@media (min-width: 851px) {
  .has-gsap .about-section { position: relative; z-index: 1; margin-top: -100svh; }
}

@media (max-width: 1100px) {
  .hero h1 { font-size: clamp(65px, 9vw, 104px); }
  .about-grid { gap: 65px; }
  .project, .project-art { min-height: 500px; }
}
@media (max-width: 850px) {
  .shell { width: min(calc(100% - 48px), var(--shell)); }
  .hero { min-height: 680px; }
  .site-nav { height: 84px; }
  .hero-body { align-items: center; padding-block: 55px 35px; }
  .hero h1 { font-size: clamp(62px, 9.5vw, 86px); }
  .about-grid { grid-template-columns: 1fr; gap: 62px; }
  .about-origin { margin-top: 44px; }
  .about-text { max-width: 690px; }
  .project { grid-template-columns: 1fr; }
  .project-art { min-height: 510px; }
  .project-info { min-height: 380px; }
  .project-info h3 { margin-top: 55px; }
  .project-npa .project-art, .project-moore .project-art { order: 0; }
  .project-npa .project-info, .project-moore .project-info { order: 1; }
  .ems-preview-login strong { font-size: 49px; }
  .ems-preview-login span, .ems-preview-login b, .npa-preview-nav { font-size: 13px; }
  .npa-preview-photo strong { font-size: 45px; }
}
@media (max-width: 620px) {
  body.nav-open { overflow: hidden; }
  .site-nav { height: 77px; }
  .brand img { width: 78px; }
  .brand span { font-size: 13px; }
  .brand { position: relative; z-index: 22; }
  .menu-toggle { position: relative; z-index: 22; display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-width: 104px; height: 45px; padding: 0 15px; border: 1px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); font-size: 14px; font-weight: 800; cursor: pointer; transition: background .25s ease, color .25s ease, border-color .25s ease; }
  .menu-toggle-icon { position: relative; display: block; width: 16px; height: 16px; }
  .menu-toggle-icon::before, .menu-toggle-icon::after { position: absolute; left: 0; width: 16px; height: 1.5px; border-radius: 2px; background: currentColor; content: ""; transition: transform .3s ease, top .3s ease; }
  .menu-toggle-icon::before { top: 5px; }
  .menu-toggle-icon::after { top: 11px; }
  .nav-open .menu-toggle-icon::before { top: 8px; transform: rotate(45deg); }
  .nav-open .menu-toggle-icon::after { top: 8px; transform: rotate(-45deg); }
  .nav-open .brand { color: #fff; }
  .nav-open .brand img { filter: invert(1); }
  .nav-open .brand span { border-left-color: #5a7290; }
  .nav-open .menu-toggle { border-color: #f4f8ff; color: #f4f8ff; }
  .nav-links { position: fixed; inset: 0; z-index: 20; display: flex; align-items: flex-start; justify-content: center; flex-direction: column; gap: 9px; padding: 100px 24px 75px; border-radius: 0; background: var(--dark); color: #fff; opacity: 0; visibility: hidden; transform: translateY(-16px); pointer-events: none; transition: opacity .38s ease, transform .38s cubic-bezier(.2,.7,.2,1), visibility .38s; }
  .nav-open .nav-links { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
  .nav-links > a { padding: 4px 0; font-family: Manrope, sans-serif; font-size: clamp(48px, 12vw, 70px); font-weight: 800; line-height: 1.12; letter-spacing: -.075em; }
  .nav-contact { gap: 20px; min-height: 0; margin: 0; padding: 4px 0; border: 0; border-radius: 0; background: none; color: var(--accent-light); }
  .nav-contact:hover { background: none; }
  .nav-contact svg { width: 32px; height: 32px; stroke-width: 1.5; }
  .hero { min-height: 100svh; }
  .hero-body { padding-block: 55px 28px; }
  .hero-hello { margin-bottom: 25px; font-size: 16px; }
  .hero h1 { font-size: clamp(48px, 10.6vw, 68px); line-height: 1.06; letter-spacing: -.078em; }
  .hero-footer { padding-bottom: 36px; }
  .hero-actions { gap: 12px 20px; }
  .button { min-height: 54px; padding-inline: 20px; font-size: 14px; }
  .about-section { padding-block: 92px 110px; }
  .projects-section { padding-block: 150px 110px; }
  .about-grid { gap: 46px; margin-top: 34px; }
  .about-heading h2 { font-size: clamp(48px, 11vw, 70px); }
  .about-origin strong { font-size: 125px; }
  .about-text p { font-size: 18px; }
  .tool-list { margin-top: 36px; }
  .projects-heading { margin: 29px 0 43px; }
  .projects-heading h2 { font-size: clamp(49px, 11vw, 75px); }
  .project { border-radius: 27px; }
  .project-art { min-height: 360px; }
  .ems-preview { width: 91%; }
  .ems-preview-brand { gap: 10px; padding: 14px; }
  .ems-preview-brand span { font-size: 9px; }
  .ems-preview-login { padding: 20px; }
  .ems-preview-login strong { margin-bottom: 11px; font-size: 29px; }
  .ems-preview-login span, .ems-preview-login b { font-size: 8px; }
  .ems-preview-login i { height: 23px; margin-bottom: 9px; }
  .ems-preview-login b { padding: 6px 9px; }
  .npa-preview { width: 91%; }
  .npa-preview-nav { gap: 8px; font-size: 8px; }
  .npa-preview-nav img { width: 45px; }
  .npa-preview-photo strong { font-size: 25px; }
  .gov-preview { width: 91%; }
  .gov-preview-nav { font-size: 6px; }
  .gov-preview-nav strong { font-size: 9px; }
  .gov-preview-copy span { margin-bottom: 8px; font-size: 6px; }
  .gov-preview-copy strong { font-size: 20px; }
  .gov-preview-links { font-size: 6px; }
  .gov-preview-links span { padding: 6px 5px; }
  .moore-preview { width: 91%; }
  .moore-sidebar { padding: 8%; }
  .moore-sidebar strong { font-size: 9px; }
  .moore-menu span { padding: 5px 6px; font-size: 6px; }
  .moore-topline { font-size: 6px; }
  .moore-content > strong { font-size: 20px; }
  .moore-table > div { height: 29px; }
  .project-info { min-height: 345px; padding: 30px; }
  .project-info h3 { margin-top: 42px; font-size: clamp(40px, 10vw, 55px); }
  .project-info p { font-size: 16px; }
  .round-link { margin-top: 32px; }
  .contact-section { padding-block: 92px 110px; }
  .contact-content { padding-top: 65px; }
  .contact-content h2 { font-size: clamp(59px, 12vw, 78px); }
  .contact-email { gap: 12px; margin-top: 52px; font-size: clamp(21px, 5.6vw, 34px); }
  .contact-email svg { width: 21px; height: 21px; }
  .contact-links { align-items: flex-start; flex-direction: column; gap: 8px; }
  .footer-inner { flex-wrap: wrap; }
  .footer-inner span { order: 3; width: 100%; }
}
@media (max-width: 400px) {
  .brand span { display: none; }
  .hero h1 { font-size: 46px; }
  .hero-actions { flex-direction: column; gap: 8px; }
  .about-origin strong { font-size: 108px; }
  .contact-content h2 { font-size: 56px; }
}
